Skip to content

Commit 387f9b1

Browse files
committed
build: move process termination to watch script
1 parent c95e8b5 commit 387f9b1

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

scripts/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,3 @@ if [ -z "$BUILD_TARGET_ARCH" ]; then
7272
fi
7373

7474
echo "Build complete ✨"
75-
killall Finicky

scripts/watch.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/bash
22

33
fd . --type f packages/config-api packages/finicky-ui apps/finicky \
4-
| entr -r sh -c 'clear && ./scripts/build.sh && echo "$?"'
5-
4+
| entr -r sh -c 'clear && ./scripts/build.sh && killall Finicky && echo "$?"'

0 commit comments

Comments
 (0)