Skip to content

Commit

Permalink
Merge pull request #122 from fazzinipierluigi/master
Browse files Browse the repository at this point in the history
Fix on SASS compilation trigger
  • Loading branch information
kjayres24 authored Dec 11, 2019
2 parents 4c2054a + 97351d7 commit 6b4818e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-scss.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ function wp_scss_needs_compiling() {
}
}

add_action('wp_head', 'wp_scss_needs_compiling');
add_action('wp_loaded', 'wp_scss_needs_compiling');

function wp_scss_compile() {
global $wpscss_compiler;
Expand Down

0 comments on commit 6b4818e

Please sign in to comment.