gulp watch / build doesnt generate css from scss first time - I have to deliberately adjust scss and change it back to get gulp to see change and generate css #2557
Unanswered
therobyouknow
asked this question in
Help
Replies: 1 comment
-
For the first time, make sure you are running your SCSS task as part of your Gulp default task. That way, when you run Here's a simplified version of what I'm using for my own default Gulp task:
It will run my SCSS and JS task and also start the watch task. The watch task will then also run the SCSS and JS tasks when any changes are detected. Hope this helps. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
how do I get gulp watch to generate css from scss without having to "artificially" tweak the scss - i.e. change it to only change it back for a change to be detected to trigger gulp watch / build to generate css
Beta Was this translation helpful? Give feedback.
All reactions