Skip to content

Instantly share code, notes, and snippets.

@aujkis
Forked from johnbintz/Guardfile
Last active August 29, 2015 14:09
Show Gist options
  • Save aujkis/45e9c7f7f07d931ce923 to your computer and use it in GitHub Desktop.
Save aujkis/45e9c7f7f07d931ce923 to your computer and use it in GitHub Desktop.
module MyApplication
class Application < Rails::Application
config.logger = Logger.new($stdout)
config.middleware.insert_before(::Rack::Lock, ::Rack::LiveReload)
end
end
group :livereload do
guard 'livereload' do
watch(things)
end
end
rails: rails s
guard: guard -g livereload -i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment