We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c632ca commit 32f6f32Copy full SHA for 32f6f32
1 file changed
rewatch/tests/watch/06-watch-missing-source-folder.sh
@@ -54,7 +54,11 @@ fi
54
# where the config change triggers a full rebuild that runs concurrently
55
# with the subsequent `rewatch build`.
56
exit_watcher
57
-sleep 1
+if ! wait_for_file_gone "lib/rescript.lock" 20; then
58
+ error "Watcher did not stop in time"
59
+ git checkout "$DEP01_CONFIG"
60
+ exit 1
61
+fi
62
63
# Restore dep01's rescript.json
64
git checkout "$DEP01_CONFIG"
0 commit comments