Skip to content

Commit ed676eb

Browse files
committed
The server program which detects modification of wasm images and resumes the sl.wasm
1 parent ba9bdb9 commit ed676eb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

wasm/server.sh

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
FILE_TO_WATCH="./memory.img"
4+
5+
while inotifywait -e modify "$FILE_TO_WATCH"; do
6+
./run.sh -r
7+
done

0 commit comments

Comments
 (0)