We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8d2f0d commit dfd4ad0Copy full SHA for dfd4ad0
src/Flynsarmy/DbBladeCompiler/Compilers/DbBladeCompiler.php
@@ -23,7 +23,7 @@ public function compile($path)
23
// Compile to PHP
24
$contents = $this->compileString($string);
25
26
- if ( ! is_null($this->cachePath))
+ if ( ! is_null($this->cachePath) || !Config::get('app.debug'))
27
{
28
$this->files->put($this->getCompiledPath($path), $contents);
29
}
0 commit comments