fresh
Build and (re)start go web apps after saving/creating/deleting source files. (by gravityblast)
watchrun
Watch your files and run your programs. (by loov)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
fresh
Posts with mentions or reviews of fresh.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-17.
-
Implement auto-reload after update
Have a look at fresh
- How to auto-reload go apps during development?
-
To Go with Golang
Needed a more robust way, which is provided by this package called fresh. Fresh is a command line tool that builds and (re)starts your web application everytime you save a Go or template file. You can also customise the log color that comes with the default fresh setup. It requires a default runner.conf file. If you want to go with the default options, you don't even need this file on your project root.
watchrun
Posts with mentions or reviews of watchrun.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-11.
-
Hot reloading a go website (not just recompiling)
See one approach here https://github.com/loov/watchrun/blob/master/examples/watchjs-templates/server.go and https://github.com/loov/watchrun/blob/master/examples/watchjs-live/server.go.
-
I'm new at programming and this is my first website made in a programming language (Go)
For a more complicated setup, you can take a look at https://github.com/loov/watchrun/blob/master/examples/watchjs-templates/server.go, which also auto-reloads the page.
-
Embedding files for html/template, how to add Funcs?
To avoid the loadTemplates call. However, I would use an approach that lets you live-reload the new templates when ever they change -- helps to shorten the iteration time (e.g. one approach https://github.com/loov/watchrun/blob/master/examples/watchjs-templates/server.go).
-
How to auto-reload go apps during development?
Wrote https://github.com/loov/watchrun a while ago. More details here https://egonelbre.com/project/watchrun/.
What are some alternatives?
When comparing fresh and watchrun you can also consider the following projects:
gin - Live reload utility for Go web servers
modd - A flexible developer tool that runs processes and responds to filesystem changes
kolekti - Display Musyca's database information in the terminal / Interage com Musyca e mostra as informações no terminal
air - ☁️ Live reload for Go apps
remix - Build Better Websites. Create modern, resilient user experiences with web fundamentals.
musyca - Your own music listening database / Seu próprio banco de dados de músicas ouvidas
mongo-go-driver - The Official Golang driver for MongoDB
logger - ⚠ Deprecated, available within Fiber v2
Fiber - ⚡️ Express inspired web framework written in Go