diff --git a/gulpfile.ts b/gulpfile.ts index f35190b..413c8a2 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -190,8 +190,8 @@ export async function Build() online: false }); - gulp.watch(settings.ThemeSource("**"), gulp.series(Theme, BrowserSync("*.css"))); - gulp.watch(settings.TemplateSource("**"), gulp.series(Templates, BrowserSync())); + gulp.watch(settings.ThemeSource("**"), { usePolling: true }, gulp.series(Theme, BrowserSync("*.css"))); + gulp.watch(settings.TemplateSource("**"), { usePolling: true }, gulp.series(Templates, BrowserSync())); } await Promise.all( @@ -238,7 +238,7 @@ export async function Library() if (settings.Watch) { - bundler = Watchify(bundler); + bundler = Watchify(bundler, { poll: true }); } bundler.plugin(