Last active
August 29, 2015 14:02
-
-
Save cristianogregnanin/2add0da3a838edf950ac to your computer and use it in GitHub Desktop.
Guard config to monitoring php project. Run this commands in your root project path
This file contains 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
#setup the Gemfile | |
$ nano Gemfile | |
source 'https://rubygems.org' | |
group :development do | |
gem 'guard' | |
gem 'guard-livereload', require: false | |
end | |
$ bundle | |
#config the Guardfile | |
$ nano Guardfile | |
guard :livereload do | |
watch(%r{.+\.(css|js|html|php|tpl)$}) | |
end | |
#start the server | |
$ bundle exec guard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment