Open pawelmiklas opened 5 years ago
@IamManchanda great work! Is there any way you could take a look at this issue - would make this package so much better!
Ps.: https://github.com/IamManchanda/gulp-webpack/blob/master/gulpfile.js#L211 might have a small typo and should be gulp.watch(srcPath('html', true))
- am I right?
Super glad to hear your feedback! Best, Stefan
@snaqu in case you need a quick fix: The change from my answer above plus the following change (inserting another browserSync.reload
)
// Watch - Markup
gulp.watch(srcPath("html"), true).on(
"all",
gulp.series(
Object.assign(cleanMarkup(mode), {
displayName: `Watching Markup Task: Clean - ${modeName}`
}),
Object.assign(buildMarkup(mode), {
displayName: `Watching Markup Task: Build - ${modeName}`
}),
browserSync.reload // INSERTED
),
browserSync.reload
);
did the job for me - hope that helps!
Thanks a lot guys! Sorry I had no idea that this project got love ... will surely dig next weekend
Thanks for your feedback ... will look into these!
Browser-sync on html is not working. On sass files is okey.