mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 10:58:44 +00:00
Update cheatsheets
This commit is contained in:
21
goreload
Normal file
21
goreload
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# goreload
|
||||
|
||||
> Live reload utility for Go programs.
|
||||
> More information: <https://github.com/acoshift/goreload>.
|
||||
|
||||
- Watch a binary file (defaults to `.goreload`):
|
||||
|
||||
`goreload -b {{path/to/binary}} {{path/to/file.go}}`
|
||||
|
||||
- Set a custom log prefix (defaults to `goreload`):
|
||||
|
||||
`goreload --logPrefix {{prefix}} {{path/to/file.go}}`
|
||||
|
||||
- Reload whenever any file changes:
|
||||
|
||||
`goreload --all`
|
||||
Reference in New Issue
Block a user