mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-09 11:16:39 -05:00
Disable browsersync ghost mode for scrolling and enable it for clicks and form input
This commit is contained in:
parent
e83bdcb937
commit
c25375b951
1 changed files with 7 additions and 1 deletions
8
gulpfile.js
vendored
8
gulpfile.js
vendored
|
@ -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" ]);
|
||||
|
|
Loading…
Reference in a new issue