Skip to content

Commit e57a0ad

Browse files
committed
fix : prevent BS reloads
1 parent dedf53b commit e57a0ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ module.exports = (env, argv) => {
170170
fn: function(event, file) {
171171
const bs = require('browser-sync').get('bs-webpack-plugin')
172172

173-
if (event === 'change' && file.indexOf('.css') === -1) {
173+
if (event === 'change' && file !== 'dist/WebpackBuiltFiles.php' && file.indexOf('.css') === -1) {
174174
bs.reload()
175175
}
176176

0 commit comments

Comments
 (0)