-
Notifications
You must be signed in to change notification settings - Fork 41
Watcher not triggering task #91
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Using the task file generated by taskctl init, I would have expected that when running
taskctl watch watcher1
task1 is getting executed, whenever READEME.md is changed. However, task1 is executed only once and changes to README.md have no effect. With --debug the output shows that the change is detected. Below I edited the file twice, both times a debug log is written, but task1 is not executed:
# taskctl --debug watch watcher1
DEBU[0000] starting watcher watcher1
DEBU[0000] watcher "watcher1" is waiting for events in README.md
DEBU[0000] Executing "echo "I'm task1""
I'm task1
DEBU[0005] watcher1: event "WRITE" in file "README.md"
DEBU[0009] watcher1: event "WRITE" in file "README.md"
[No further output]
I have both tried the latest download and building from source. Linux x86_64.
Please let me know if any further information would be helpful. Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working