How to run two parallel "watch" type tasks? #1353
-
|
I would like to run two tasks, The The Is this type of arrangement possible? Right now I'm running |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Hi @danawoodman, You might want to take a look at #1361 when released. You'll be able to specify specific tasks to be watch, and the |
Beta Was this translation helpful? Give feedback.
-
|
I'm having trouble getting this to work. For example: version: '3'
tasks:
one:
watch: true
sources:
- one.txt
cmds:
- figlet One
two:
watch: true
sources:
- two.txt
cmds:
- figlet Two
three:
cmds:
- tailwindcss --watch -o test.cssI run: Only tailwind is executed. without three: Then, if I modify the sources: It works more closely to what I would expect. |
Beta Was this translation helpful? Give feedback.
-
|
You can also use concurrently tasks:
dev:
cmd: concurrently "air -c .air.toml" "npx tailwindcss -i ./assets/input.css -o ./assets/tw.css --watch" |
Beta Was this translation helpful? Give feedback.

Hi @danawoodman,
You might want to take a look at #1361 when released. You'll be able to specify specific tasks to be watch, and the
--watchtask can be skipped.