Skip to content

Commit 98fac0c

Browse files
committed
Restart worker automatically
1 parent 6c67a07 commit 98fac0c

File tree

1 file changed

+2
-2
lines changed
  • core/src/main/java/io/temporal/samples/basic

1 file changed

+2
-2
lines changed

core/src/main/java/io/temporal/samples/basic/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
worker:
2-
cd $$(git rev-parse --show-toplevel) && \
3-
./gradlew -q execute -P mainClass=io.temporal.samples.basic.MyWorker
2+
ls *.java | entr -r \
3+
sh -c 'cd $$(git rev-parse --show-toplevel) && ./gradlew -q execute -P mainClass=io.temporal.samples.basic.MyWorker'
44

55
run:
66
cd $$(git rev-parse --show-toplevel) && \

0 commit comments

Comments
 (0)