Dependency resolution and configuration errors now return exit code
1 instead of 2 from rescript build, clean, and format. #8641Semantic Diff
5 commits, rendered from their records.
| Range | Commits | Changelog | Areas | JS output changes | Formats | Failed checks |
|---|---|---|---|---|---|---|
58f1bd223b455d60990dbce94b77720644f98bf9..pr-8641 | 5 | 🐛 Bug fix | 0 | none | 7 |
CHANGELOG.md | 3377441a3, f83cd4ffd |
rewatch/src/build/packages.rs | f83cd4ffd, b7ff3d53c, ff35b9a90 |
rewatch/src/watcher.rs | 3377441a3, f83cd4ffd, ff35b9a90, fef2886a0 |
rewatch/tests/suite.sh | 3377441a3, f83cd4ffd, ff35b9a90 |
rewatch/tests/watch/07-watch-recovers-from-invalid-config.sh | 3377441a3, f83cd4ffd |
rewatch/tests/watch/08-watch-recovers-from-invalid-config.sh | ff35b9a90, fef2886a0 |
58f1bd223b455d60990dbce94b77720644f98bf9..pr-8641| M | CHANGELOG.md | +1 | −0 |
| M | rewatch/src/watcher.rs | +11 | −5 |
| M | rewatch/tests/suite.sh | +1 | −0 |
| A | rewatch/tests/watch/07-watch-recovers-from-invalid-config.sh | +103 | −0 |
| M | CHANGELOG.md | +1 | −1 |
| M | rewatch/src/build/packages.rs | +50 | −44 |
| M | rewatch/src/watcher.rs | +149 | −37 |
| M | rewatch/tests/suite.sh | +1 | −0 |
| M | rewatch/tests/watch/07-watch-recovers-from-invalid-config.sh | +45 | −33 |
| A | rewatch/tests/watch/08-watch-recovers-new-dependency-config.sh | +83 | −0 |
| M | rewatch/src/build/packages.rs | +5 | −2 |
1 instead of 2 from rescript build, clean, and format. #8641| M | changes/watch-rebuild-recovery.fix.md | +1 | −0 |
| M | rewatch/src/build.rs | +1 | −1 |
| M | rewatch/src/build/clean.rs | +1 | −1 |
| M | rewatch/src/build/packages.rs | +2 | −21 |
| M | rewatch/src/format.rs | +1 | −1 |
| M | rewatch/src/watcher.rs | +2 | −2 |
| M | rewatch/tests/suite.sh | +2 | −2 |
| R | rewatch/tests/watch/08-watch-recovers-from-invalid-config.sh | +0 | −0 |
| R | rewatch/tests/watch/09-watch-recovers-new-dependency-config.sh | +0 | −0 |
| M | tests/build_tests/weird_deps/input.js | +1 | −0 |
| M | tests/build_tests/weird_devdeps/input.js | +1 | −0 |
Log the source event path and its requested compile type once, then wait for the edited source to request full initialization and for an error after that event. Delayed config failures can no longer satisfy the recovery assertion before the edit is processed.
| M | rewatch/src/watcher.rs | +6 | −12 |
| M | rewatch/tests/watch/08-watch-recovers-from-invalid-config.sh | +15 | −3 |