Skip to content

BrowserSync crashing the OS #63

@PraveenKumarGundla

Description

@PraveenKumarGundla

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');
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions