1
0
mirror of https://github.com/go-task/task.git synced 2025-10-30 23:58:01 +02:00

docs: link to the known bug with --watch (#2449)

This commit is contained in:
Aku Kotkavuo
2025-10-10 23:26:40 +03:00
committed by GitHub
parent ba23aca631
commit 42bcd5406a

View File

@@ -2371,9 +2371,10 @@ if called by another task, either directly or as a dependency.
::: warning
The watcher can misbehave in certain scenarios, in particular for long-running
servers. There is a known bug where child processes of the running might not be
killed appropriately. It's advised to avoid running commands as `go run` and
prefer `go build [...] && ./binary` instead.
servers. There is a [known bug](https://github.com/go-task/task/issues/160)
where child processes of the running might not be killed appropriately. It's
advised to avoid running commands as `go run` and prefer `go build [...] &&
./binary` instead.
If you are having issues, you might want to try tools specifically designed for
live-reloading, like [Air](https://github.com/air-verse/air/). Also, be sure to