When I run
gulp watch and update some scss/js browser-sync updates the page but my changes are missing. The same goes for
gulp. But when I run
gulp --production it seems to work fine. None of the gulp tasks fail and everything looks like normal.
It seems to me that I have a production mode (instead of development) and Sage looks for files in the wrong place or something. Do I need to specify some variable or something? I tried to set
WP_ENV to development, but no luck.
It’s not because I’m running
gulp watch at the same time.
Sage 8.5.1 with a regular wordpress installation. I’m using Local by Flywheel to serve the files.
Thanks in advance!