Skip to content

Commit

Permalink
remove watch.sh dependency from watch task
Browse files Browse the repository at this point in the history
Task can handle running tasks in parallel, so use that instead of relying on the `watch.sh` script which has shown to be incompatible with Task's interrupt signaling.

also update `watch` task's description.
  • Loading branch information
HeCorr committed May 7, 2023
1 parent 0136e62 commit c898285
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ tasks:
- DEV=1 ./node_modules/.bin/nodemon --watch '**/*' -e html,yml,go,js --signal SIGTERM --exec 'go run . --config config.yml'

watch:
desc: Starts both frontend and backend (with ./watch.sh)
desc: Starts both frontend and backend, watching for changes
cmds:
- bash ./watch.sh task
- task -p watch_frontend watch_backend

clean:
desc: Clean up build artifacts
Expand Down

0 comments on commit c898285

Please sign in to comment.