// Ensure that we never intercept budo-served resources. Otherwise, the Express app might have something like a 404 handler or "always require login" middleware that stops requests for budo assets from ever coming out the other end of the Express app.
// NOTE: This is mostly just a hack to make sure that the process has time to get restarted (by eg. nodemon) before sending out a LiveReload update. Need to investigate whether there's a less hacky way to do this.
stabilityThreshold:130
}
})
.live()
.on("watch",(event,file)=>{
if(event==="change"||event==="add"){
devServer.reload(file);
}
})
.on("pending",()=>{
// This event is called when the bundle is being regenerated, ie. after watchify has detected a change in the input files