juanfran / gulp-jade-inheritance

Gulp plugin to rebuild jade files and other files that have extended or included those files
34 stars 32 forks source link

How can i use it with gulp 4? #17

Closed sedlukha closed 8 years ago

sedlukha commented 8 years ago

setWatch task doesn't work with gulp 4

pure180 commented 8 years ago

Gulp changes a lot with version 4.0.0, it's needed to rewrite the whole tasks. You will need to add the setwatch task as gulp.series( CB )... Take a look into the change log of new version.

sedlukha commented 8 years ago

I solved this problem by insert global.isWatching = true; into my jade task. So now we don't need setWatchtask

thanks @pure180