Skip to content

Commit

Permalink
not showing 'Rebuilding...' notification when 'notify' is false
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentyn committed Jul 3, 2017
1 parent 8233c9f commit 60a07cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ BrowserSyncPlugin.prototype.apply = function (compiler) {
});

compiler.plugin('compilation', function () {
if (self.isBrowserSyncRunning) {
if (self.isBrowserSyncRunning && self.browserSyncOptions.notify) {
self.browserSync.notify('Rebuilding...');
}
});
Expand Down

0 comments on commit 60a07cc

Please sign in to comment.