Fix rollup not live reloading correctly
This commit is contained in:
parent
980e35942d
commit
cff883503e
|
@ -234,7 +234,7 @@ export default {
|
||||||
|
|
||||||
// Watch the `dist` directory and refresh the
|
// Watch the `dist` directory and refresh the
|
||||||
// browser on changes when not in production
|
// browser on changes when not in production
|
||||||
!production && livereload(outputpath),
|
!production && livereload({ watch: outputpath, delay: 500 }),
|
||||||
|
|
||||||
// If we're building for production (npm run build
|
// If we're building for production (npm run build
|
||||||
// instead of npm run dev), minify
|
// instead of npm run dev), minify
|
||||||
|
|
Loading…
Reference in New Issue