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 go run main.go command, use the fresh command.

fresh

--

--

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.