Skip to content

Instantly share code, notes, and snippets.

@nzajt
Last active August 29, 2015 14:03
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 nzajt/66a9c99deffac03d9e49 to your computer and use it in GitHub Desktop.
Save nzajt/66a9c99deffac03d9e49 to your computer and use it in GitHub Desktop.
A Live sample of guard live reload for magento
# A sample Magento Guardfile
# More info at https://github.com/guard/guard#readme
guard 'livereload' do
watch(%r{magento/app/design/frontend/netmedia/lgl2014/template/.+\.(phtml)$})
watch(%r{magento/app/design/frontend/netmedia/lgl2014/layout/.+\.(xml)$})
watch(%r{magento/app/code/local/.+\.php})
watch(%r{magento/skin/frontend/netmedia/lgl2014/.+\.(css|js)})
watch(%r{magento/js/.+\.js})
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment