Fix rollup not live reloading correctly
This commit is contained in:
parent
e7c35aafd5
commit
42bf945d35
|
@ -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