Skip to content

Instantly share code, notes, and snippets.

@juniovitorino
Last active December 17, 2015 03:08
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 juniovitorino/5540587 to your computer and use it in GitHub Desktop.
Save juniovitorino/5540587 to your computer and use it in GitHub Desktop.
Guard simple boilerplate
# More info at https://github.com/guard/guard#readme
guard 'sass', :input => 'sass', :output => 'css', :style => :compressed, :no => :cache
guard :livereload do
watch %r{.+\.(php|html|css|js)$}
end
guard :concat, type: 'js', files: %w(), input_dir: 'js', output: 'js/app'
guard 'uglify', :destination_file => "js/app.min.js" do
watch (%r{js/app.js})
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment