LinuxCommandLibrary

gow

Watches Go files and restarts the app on changes.

TLDR

Start and watch the current directory

$ gow run .
copy


Start the application with the specified arguments
$ gow run . [argument1 argument2 ...]
copy


Watch subdirectories in verbose mode
$ gow -v -w=[path/to/directory1,path/to/directory2,...] run .
copy


Watch the specified file extensions
$ gow -e=[go,html] run .
copy


Display help
$ gow -h
copy

Copied to clipboard