@@ -17,7 +17,7 @@ eval "$COMMAND_TO_RUN" &
# Watch the file for changes
while inotifywait -e modify "$FILE_TO_WATCH"; do
# Kill the process
sudo pkill "$PROCESS_NAME"
sudo killall "$PROCESS_NAME"
# Run the provided command (like build and run)
eval "$COMMAND_TO_RUN" &
The note is not visible to the blocked user.