Disable browsersync ghost mode for scrolling and enable it for clicks and form input

This commit is contained in:
Kevin MacMartin 2018-04-09 16:33:50 -04:00
parent e83bdcb937
commit c25375b951

8
gulpfile.js vendored
View file

@ -186,7 +186,13 @@ gulp.task("js-dashboard-watch", [ "js-dashboard" ], watchReload);
gulp.task("watch", function() {
browserSync.init({
logLevel: "silent",
baseDir: "./public"
baseDir: "./public",
ghostMode: {
clicks: true,
forms: true,
scroll: false
}
});
gulp.watch(jsPublic, [ "js-public-watch" ]);