Restarting a Go app on code change
Jul 13, 2020 21:45 · 46 words · 1 minute read
Solution: Use the entr
program. On a macOS with Homebrew, it can be easily installed with brew install entr
. Then, you can run a command like that:
|
|
Note: For solving the “unable to stat” problem, see https://github.com/eradman/entr/issues/36
- You are in control
- My Favorite Shortcuts for VS Code
- Customizing my shell: From bash to zsh to fish
- JSON5: JSON with comments (and more!)
- jq: Analyzing JSON data on the command line
- Get Total Directory Size via Command Line
- Changing DNS server for Huawei LTE router
- Notes on Job & Career Development
- Adding full-text search to a static site (= no backend needed)
- Generating a random string on Linux & macOS