1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/gow.md

25 lines
466 B
Markdown
Raw Normal View History

2022-02-25 03:18:05 -06:00
# gow
> Watches Go files and restarts the app on changes.
> More information: <https://github.com/mitranim/gow>.
- Start and watch the current directory:
`gow run .`
- Start the application with the specified arguments:
`gow run . {{argument1 argument2 ...}}`
- Watch subdirectories in verbose mode:
`gow -v -w={{path/to/directory1,path/to/directory2,...}} run .`
- Watch the specified file extensions:
`gow -e={{go,html}} run .`
- Display help:
`gow -h`