We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e903dfe commit 47fab68Copy full SHA for 47fab68
.changes/fix-watcher.md
@@ -0,0 +1,6 @@
1
+---
2
+"cli.rs": patch
3
+"cli.js": patch
4
5
+
6
+Fixes dev watcher incorrectly exiting the CLI when sequential file updates are detected.
tooling/cli/src/interface/rust.rs
@@ -358,7 +358,14 @@ impl Rust {
358
359
app_child_.lock().unwrap().replace(app_child);
360
} else {
361
- on_exit(status, reason);
+ on_exit(
362
+ status,
363
+ if manually_killed_app_.load(Ordering::Relaxed) {
364
+ ExitReason::TriggeredKill
365
+ } else {
366
+ reason
367
+ },
368
+ );
369
}
370
})?;
371
0 commit comments