Automatic Reloading in Go(fresh)

Automatically restarting the server always help us increase our efficiency, That is the reason we can do our job faster via automation so in this article we will learn how to restart the go-lang project.

There are multiple ways to restart the go-lang server after saving the file, but i will talk here about fresh.

Install fresh package in your system.

go get github.com/pilu/fresh

Instead of running the application using the usual command, use the command.

fresh

After changing some code then save.

That’s it for this time! I hope you enjoyed this post. As always, I welcome questions, notes, comments and requests for posts on topics you’d like to read. See you next time! Happy Coding !!!!!

--

--

I’m a MERN Developer. ( Redux | AWS | Python ) I enjoy taking on new things, building skills, and sharing what I’ve learned.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ankit Kumar Rajpoot

I’m a MERN Developer. ( Redux | AWS | Python ) I enjoy taking on new things, building skills, and sharing what I’ve learned.