1
0
mirror of https://github.com/go-task/task.git synced 2025-11-25 22:32:55 +02:00

Issue 813. Made watch interval configurable through global setting in Taskfile and through CLI arg.

Separated Taskfile param and Arg flag
This commit is contained in:
ilewin
2022-09-08 19:22:44 +02:00
parent 160b788198
commit 1c44d8049a
7 changed files with 122 additions and 1 deletions

1
testdata/watcher_interval/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
src/*

16
testdata/watcher_interval/Taskfile.yaml vendored Normal file
View File

@@ -0,0 +1,16 @@
# https://taskfile.dev
version: '3'
vars:
GREETING: Hello, World!
interval: "50ms"
tasks:
default:
sources:
- "src/*"
cmds:
- echo "{{.GREETING}}"
silent: false