Skip to content

ennjoy/nodemon-golang-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nodemon + Go



Background

Hey! When developing an application in the go language, it is necessary to restart it every time through the console in order to apply new changes, this is not convenient. I propose to sprinkle it. I will be using the npm nodemon package.

Start 🚀

Install nodemon globally

npm install -g nodemon

For easy launch of the application, I will create a Makefile.

run:
    nodemon --exec go run main.go --signal SIGTERM

Here to nodemon we pass the launch parameters and the application itself.


To run the application

make run

About

Nodemon + Golang App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published