diff --git a/src/api/dev.ts b/src/api/dev.ts index 7f87781..68b677e 100644 --- a/src/api/dev.ts +++ b/src/api/dev.ts @@ -250,8 +250,8 @@ class Watcher extends EventEmitter { this.restarting = true; this.current_build = { - changed: new Set(), - rebuilding: new Set(), + changed: new Set([filename]), + rebuilding: new Set([type]), unique_warnings: new Set(), unique_errors: new Set() };