Skip to content

Commit 7577b82

Browse files
author
Valentin Sampl
committed
live reload fix
1 parent 415c6aa commit 7577b82

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

classes/Hooks.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,10 @@ public function generateCSS(\PageModel $objPage, \LayoutModel $objLayout, \PageR
129129
file_put_contents($path, $css);
130130
$reloadFile = true;
131131
}
132+
} else {
133+
file_put_contents($path, $css);
132134
}
133-
135+
134136
$filetime = filemtime($path);
135137
$fileClass = 'external_css_'.standardize($filename);
136138

0 commit comments

Comments
 (0)