-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BrowserSync crashing the OS #63
Comments
What makes you think it's due to BrowserSync? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Am using browser sync with proxy mode in my MVC based angular app.
It works fine, but some times it crashing the OS , all of sudden i see blue screen(watch dog violation).It happened 4 times in one week.
OS:windows 10
browsersync version:2.18.12
below is the usage of browser sync
var bs = require('browser-sync').create('DevServer');
bs.emitter.on("init", function () {
console.log("Browsersync is initilizing..!");
});
bs.emitter.on('service:exit', function () {
console.log('exiting');
});
bs.init({
proxy: 'localhost:36865',
reloadDelay: 2000,
browser: 'chrome',
files: [
{
match: ["./dist/.js"],
watchevents: ["add"],
fn: function (event, file) {
var eventname = event ? event : '';
var filename = file ? file : '';
console.log(eventname + ' :' + filename);
if (event === 'add' || event === 'change')
bs.reload();
},
options: {
ignoreInitial: true,
ignored: '.txt'
}
},
{
match: ["./content/less/*.css"],
watchevents: ["change"],
injectChanges: true
}
]
}, function () {
console.log('browser sync started');
});
The text was updated successfully, but these errors were encountered: