Closed skydevht closed 6 years ago
this
/** * Paths */ Object.keys(config.paths).forEach((key) => { if (key !== 'assets') { if (config.paths.assets === '') { paths[key] = `./${config.paths[key]}`; } else { paths[key] = `${config.paths.assets}/${config.paths[key]}`; } } });
should be
/** * Paths */ Object.keys(config.paths).forEach((key) => { if (key !== 'assets' || key !== 'dest') { if (config.paths.assets === '') { paths[key] = `./${config.paths[key]}`; } else { paths[key] = `${config.paths.assets}/${config.paths[key]}`; } } });
because of line 196
'!' + paths.dest + '/**/*',
which cause a reloading loop with browsersync
@Skyd1400 Thanks! Could you send a PR?
this
should be
because of line 196
'!' + paths.dest + '/**/*',
which cause a reloading loop with browsersync