Skip to content

Commit 4cf3b1a

Browse files
committed
test: build to check for lock
1 parent a57f118 commit 4cf3b1a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rewatch/tests/lock.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ exit_watcher() {
1919
}
2020

2121
rewatch_bg watch > /dev/null 2>&1 &
22+
success "Watcher Started"
2223

2324
sleep 1
2425

25-
if rewatch watch | grep 'Could not start Rewatch:' &> /dev/null;
26+
if rewatch build | grep 'Could not start Rewatch:' &> /dev/null;
2627
then
2728
# rm output.txt
2829
success "Lock is correctly set"

0 commit comments

Comments
 (0)