wxnwdq
Last Updated: February 25, 2016
·
919
· excitedubai

Reload Ruby app in development, automically.

There are two gems you are going to need for this: guard and guard-livereload

Install both of them, then cd into your Ruby app folder.
Then you have to compile a file, called a Guardfile.

guard init livereload

That's it! Now you when you have your app running, open a new terminal window and type:

guard

now every time you make a change your ruby app files, guard automatically reloads the app!

Follow me on twitter if you need any help

1 Response
Add your response

12501

This is also tagged with a Rails tag, but Rails does this for me automatically when I edit files in development mode.

Might be different for Ruby apps?

over 1 year ago ·