From afca7adc24b05826106900c9e5aa0f3f1b4150f2 Mon Sep 17 00:00:00 2001 From: Michael Cale Date: Fri, 25 Feb 2022 03:18:05 -0600 Subject: [PATCH] gow: add page (#7805) --- pages/common/gow.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/gow.md diff --git a/pages/common/gow.md b/pages/common/gow.md new file mode 100644 index 0000000000..6c53a140bd --- /dev/null +++ b/pages/common/gow.md @@ -0,0 +1,24 @@ +# gow + +> Watches Go files and restarts the app on changes. +> More information: . + +- 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`