DEV Community

Cover image for Live reload tool for Go application
VORG
VORG

Posted on • Updated on

Live reload tool for Go application

air

Star 5.8k Watch 47 Fork 407

Live reload for Go apps

Image description

Motivation

When I get started with developing websites in Go and gin framework, it's a pity that gin lacks live-reloading function. In fact, I tried fresh and it seems not much flexible, so I intended to rewrite it in a better way.
Finally, Air's born.
In addition, great thanks to pilu, no fresh, no air :)

Air is yet another live-reloading command line utility for Go applications in development. Just air in your project root directory, leave it alone,
and focus on your code.

NOTE: This tool has nothing to do with hot-deploy for production.

Features

  • Colorful log output
  • Customize build or binary command
  • Support excluding subdirectories
  • Allow watching new directories after Air started
  • Better building process

License

GNU General Public License v3.0

Top comments (2)

Collapse
 
bitecode profile image
BC

Try reflex github.com/cespare/reflex ,simple yet powerful

Collapse
 
vorg profile image
VORG

thanks, you can follow VORG twitter to DM me your favorite projects those may be listed in next issue of our open source magazine.