Skip to content

Commit 60a07cc

Browse files
author
Valentyn
committed
not showing 'Rebuilding...' notification when 'notify' is false
1 parent 8233c9f commit 60a07cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ BrowserSyncPlugin.prototype.apply = function (compiler) {
2727
});
2828

2929
compiler.plugin('compilation', function () {
30-
if (self.isBrowserSyncRunning) {
30+
if (self.isBrowserSyncRunning && self.browserSyncOptions.notify) {
3131
self.browserSync.notify('Rebuilding...');
3232
}
3333
});

0 commit comments

Comments
 (0)