-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Makefile for backend watch scripts
- Loading branch information
1 parent
592bbf5
commit 5d57a77
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,3 +45,5 @@ android/app/src/main/jniLibs | |
android/.idea | ||
/build/* | ||
!/build/.npmkeep | ||
|
||
.trigger |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[tasks.watch_build] | ||
script = "cargo watch -x build -s 'touch .trigger'" | ||
|
||
[tasks.trigger_server_start] | ||
# TODO dynamic port????? | ||
script = "systemfd --no-pid -s http::4007 -- cargo watch --no-vcs-ignores -w .trigger -x run" | ||
|
||
[tasks.watch] | ||
workspace = false | ||
run_task = { name = ["watch_build", "trigger_server_start"], parallel = true } |