DEV Community

Cover image for Using Live Reload in Go

Using Live Reload in Go

Gustavo Castillo on December 21, 2019

When we're developing APIs in Go or any other language it's important to have tools that help us to automate certain tasks like Live Reload, I'd ha...
Collapse
 
gypsydave5 profile image
David Wickes

If you like this idea, but want something a little more flexible without a config file, try entr:

eradman.com/entrproject/

You could probably achieve a similar result with entr, a sprinkle of shell scripting, and possibly a Makefile if you really wanted to.

Collapse
 
mohamed_saleh profile image
Mohamed Saleh

I'm using Watchman by Facebook to achieve this but I like the idea of a config file
Thanks!

Example of what I currently do:
watchman-make -p '**/*.go' --run ./whatever.sh

facebook.github.io/watchman/

Collapse
 
andreidascalu profile image
Andrei Dascalu

Loads of stuff can do this. I use CompileDaemon