mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 14:56:51 +00:00
Update cheatsheets
This commit is contained in:
29
gow
Normal file
29
gow
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user