browser-sync-webpack-plugin
Advanced tools
Comparing version
@@ -40,3 +40,3 @@ const browserSync = require('browser-sync') | ||
if (this.options.reload) { | ||
if (this.options.reload && this.browserSync.active) { | ||
this.browserSync.reload(this.options.injectCss && getCssOnlyEmittedAssetsNames(stats)) | ||
@@ -43,0 +43,0 @@ } |
{ | ||
"name": "browser-sync-webpack-plugin", | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"description": "BrowserSync and Webpack integration", | ||
@@ -18,10 +18,13 @@ "keywords": [ | ||
"devDependencies": { | ||
"husky": "^0.15.0-rc.9", | ||
"lint-staged": "^7.0.0", | ||
"standard": "^11.0.1" | ||
"husky": "^9", | ||
"lint-staged": "^15", | ||
"standard": "^17" | ||
}, | ||
"peerDependencies": { | ||
"browser-sync": "^2", | ||
"browser-sync": "^2 || ^3", | ||
"webpack": "^1 || ^2 || ^3 || ^4 || ^5" | ||
}, | ||
"engines": { | ||
"node": ">=4" | ||
}, | ||
"repository": { | ||
@@ -37,4 +40,3 @@ "type": "git", | ||
"lib/**/*.js": [ | ||
"standard --fix", | ||
"git add" | ||
"standard --fix" | ||
] | ||
@@ -41,0 +43,0 @@ }, |
7743
0.48%