wgo
entr
wgo | entr | |
---|---|---|
1 | 51 | |
421 | 4,814 | |
7.6% | 1.8% | |
7.0 | 6.3 | |
2 months ago | about 1 month ago | |
Go | C | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wgo
-
wgo: a live reload tool for Go
wgo is simpler, simply prepend 'w' to any go run command to make it wgo run and now it does the same thing as go run but it also reloads the program whenever a Go file changes. Also takes in the same build flags as go run. Very intuitive to use.
entr
- Run arbitrary commands when files change
- Rewriting Rust
-
Building Bubbletea Programs
This is the same TUI app workflow I've settled on in other languages. Three notes:
- entr is a good livereload tool: https://eradman.com/entrproject/. I prefer to wrap the livereload scripts in a Makefile, under something like `make dev`.
- Managing layout arithmetic by yourself is a real pain. A widget abstraction like Bubbletea's is very helpful. Also, don't forget about weird Unicode characters (eg. emoji) potentially breaking width calculations.
- Since this follows the Elm architecture, consider storing your data the Elm way into one big, flat Model. Elm webapps turn into headaches when you split state among submodels. I think the same happens in TUI apps. I'm glad the author found a solution with a tree of models and message passing. But personally, I'd rather have a Model with 100 fields than the complexity of sumbodels.
-
Simple Directory Watcher to Restart Dev Server
Do I really need a whole Go library to do that? There must be a lighter or in other words Linux solution. I came across few solutions but not all had the capability to handle all types of directory changes. I wanted to be able to watch for file: create, edit, move, delete. For example entr doesn't rerun the command when a new file is added to the directory that is being watched.
- Entr – tool for watching files and running commands
-
Meet entr, the standalone file watcher
entr ("Event Notify Test Runner"; GitHub), is a command-line tool written by Eric Radman that allows running arbitrary commands whenever files change.
- How to build a website without frameworks and tons of libraries
- How to start a Go project in 2023
-
[Guide] A Tour Through the Python Framework Galaxy: Discovering the Stars
Try entr for fast reloading. Another one is hupper.
- Use entr when working on you rice for auto config refreshing