wordpress-docker-gulp icon indicating copy to clipboard operation
wordpress-docker-gulp copied to clipboard

Watch is not working

Open Bel1haz0r opened this issue 3 years ago • 1 comments

I am having problems with the watcher. The gulp seems to be working when I load container. But watch is not working, the css is not recompiled after the changes are made to scss file. The files are picked up when starting the container:

biofolic-browsersync-1 | > [email protected] watch /var/www/html biofolic-browsersync-1 | > gulp dev biofolic-browsersync-1 | biofolic-browsersync-1 | [21:51:33] Using gulpfile /var/www/html/gulpfile.js biofolic-browsersync-1 | [21:51:33] Starting 'dev'... biofolic-browsersync-1 | [21:51:33] Starting ''... biofolic-browsersync-1 | [21:51:33] Finished '' after 21 ms biofolic-browsersync-1 | [21:51:33] Starting ''... biofolic-browsersync-1 | [21:51:33] Finished '' after 16 ms biofolic-browsersync-1 | [21:51:33] Starting 'css'... biofolic-browsersync-1 | themes/biofolic/src/sass/abstracts/mixins/_mixins.scss 140:10 strip-unit() biofolic-browsersync-1 | themes/biofolic/src/sass/abstracts/mixins/_mixins.scss 169:47 fluid-type() biofolic-browsersync-1 | themes/biofolic/src/sass/abstracts/mixins/_mixins.scss 65:3 font-sm() biofolic-browsersync-1 | themes/biofolic/src/sass/abstracts/mixins/_mixins.scss 132:3 subheader() biofolic-browsersync-1 | themes/biofolic/src/sass/base/typography/_headings.scss 23:2 @import biofolic-browsersync-1 | themes/biofolic/src/sass/base/typography/_typography.scss 14:9 @import biofolic-browsersync-1 | themes/biofolic/src/sass/base/_base.scss 3:9 @import biofolic-browsersync-1 | themes/biofolic/src/sass/style.scss 71:9 root stylesheet

But when they are changed afterwards, the gulp watch does nothing. Please help

Bel1haz0r avatar Nov 21 '22 22:11 Bel1haz0r

@suthanbala great work on putting this together 👏

By any chance do you have feedback about the above?

I am also facing the same issue 🙏 (tried to even edit directly the main entry point for SASS e.g. src/themes/my-site/src/sass/style.scss where all imports are but changes are not watched)

0xlyd avatar Dec 07 '23 17:12 0xlyd