Fix watchers for windows running docker
This commit is contained in:
parent
9f9c0bc497
commit
7015fa994a
1 changed files with 3 additions and 3 deletions
|
@ -190,8 +190,8 @@ export async function Build()
|
||||||
online: false
|
online: false
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.watch(settings.ThemeSource("**"), gulp.series(Theme, BrowserSync("*.css")));
|
gulp.watch(settings.ThemeSource("**"), { usePolling: true }, gulp.series(Theme, BrowserSync("*.css")));
|
||||||
gulp.watch(settings.TemplateSource("**"), gulp.series(Templates, BrowserSync()));
|
gulp.watch(settings.TemplateSource("**"), { usePolling: true }, gulp.series(Templates, BrowserSync()));
|
||||||
}
|
}
|
||||||
|
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
|
@ -238,7 +238,7 @@ export async function Library()
|
||||||
|
|
||||||
if (settings.Watch)
|
if (settings.Watch)
|
||||||
{
|
{
|
||||||
bundler = Watchify(bundler);
|
bundler = Watchify(bundler, { poll: true });
|
||||||
}
|
}
|
||||||
|
|
||||||
bundler.plugin(
|
bundler.plugin(
|
||||||
|
|
Loading…
Reference in a new issue