-
Notifications
You must be signed in to change notification settings - Fork 4
watch is confusing #129
Copy link
Copy link
Closed
Description
Hi! Thank you for your delightful software.
I tried the following tasks.toml.
# tasks.toml
[[task]]
id = "go-test"
type = "short"
watch = ["**/*.go"]
cmd = """
go test ./...
"""
I ran run -ui=tui go-test. This ran my tests.
Then I went and changed a go file and expected the tests would run again. The tests did not run again, even though @watch claiming to be watching **/*.go.
Eventually I figured out that running a long dev task depending on go-test fixed the re-runner. Is this behavior intended?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels