Created
February 25, 2014 06:33
-
-
Save mikechau/9203859 to your computer and use it in GitHub Desktop.
Guard livereload
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| YourApp::::Application.configure do | |
| # ... settings | |
| config.middleware.use Rack::LiveReload | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| group :development do | |
| gem 'guard', require: false | |
| gem 'rack-livereload' | |
| gem 'guard-livereload', require: false | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. bundle install | |
| 2. guard init | |
| 3. guard init livereload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment