Skip to content
This repository has been archived by the owner on Oct 13, 2018. It is now read-only.

How Can I use this in a gulp setup? #44

Open
rasa2k opened this issue Dec 1, 2017 · 0 comments
Open

How Can I use this in a gulp setup? #44

rasa2k opened this issue Dec 1, 2017 · 0 comments

Comments

@rasa2k
Copy link

rasa2k commented Dec 1, 2017

How can I use this in a gulp setup?

var browserSync = require('browser-sync').create();
var browserSyncClient = require('browser-sync-client');

browserSync.use(browserSyncClient);

gulp.task('browser-sync', function () {
browserSync.init({
server: {
baseDir: "./wwwroot"
},
clientEvents: [
"scroll",
"input:text",
"input:toggles",
"input:keydown",
"input:keypress",
"form:submit",
"form:reset",
"click",
"contenteditable:input",
"mouseup",
"mousedown",
"select:change"
],
ghostMode: {
clicks: true,
scroll: true,
forms: {
submit: true,
inputs: true,
toggles: true,
keypress: true,
keydown: true,
contenteditable: true,
change: true
},
mouseup: true,
mousedown: true
},
});
});

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant