emit error
This commit is contained in:
@@ -52,6 +52,10 @@ function bundle (input, nc, complete) {
|
||||
|
||||
bfs.pipe(ws); // pipe it to the write stream we created earlier
|
||||
|
||||
ws.on('error', function(err) {
|
||||
console.log(err);
|
||||
})
|
||||
|
||||
ws.on('close', function() {
|
||||
// may need to be added later
|
||||
// source = source.replace(/[^\x00-\x7F]/g, "");
|
||||
|
||||
Reference in New Issue
Block a user