Skip to content
Run and restart go programs when changed
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
.gitignore
Gemfile
LICENSE
README.md
Rakefile
guard-go.gemspec

README.md

Guard::Go

Guard Go runs go programs and restart when file changes

Installation

For gophers

You must have a working Ruby installation, then:

$ gem install bundler
$ cd /your/project/dir 
$ bundle init

For gophers and Rubysts

Add this line to your application's Gemfile:

gem 'guard-go'

And then execute:

$ bundle

Or install it yourself as:

$ gem install guard-go

Usage

Read Guard usage https://github.com/guard/guard#usage

$ bundle exec guard init go

This will create your Guardfile. Edit it and configure your application file name (defaults to app.go)

$ bundle exec guard
Something went wrong with that request. Please try again.