mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 03:05:12 +00:00
work around webpack silliness
This commit is contained in:
@@ -201,7 +201,9 @@ class Watcher extends EventEmitter {
|
||||
client_files
|
||||
});
|
||||
|
||||
watch_serviceworker();
|
||||
// we need to wait a beat before watching the service
|
||||
// worker, because of some webpack nonsense
|
||||
setTimeout(watch_serviceworker, 100);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user