Skip to content

Instantly share code, notes, and snippets.

@cristianogregnanin
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cristianogregnanin/2add0da3a838edf950ac to your computer and use it in GitHub Desktop.
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
#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