mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 03:05:12 +00:00
use --live by default, if using Rollup or --no-hot
This commit is contained in:
@@ -205,13 +205,13 @@ class Watcher extends EventEmitter {
|
||||
process: this.proc
|
||||
});
|
||||
|
||||
if (this.live) {
|
||||
if (this.hot && this.bundler === 'webpack') {
|
||||
this.dev_server.send({
|
||||
action: 'reload'
|
||||
status: 'completed'
|
||||
});
|
||||
} else {
|
||||
this.dev_server.send({
|
||||
status: 'completed'
|
||||
action: 'reload'
|
||||
});
|
||||
}
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user