Update readme.md
This commit is contained in:
parent
971c5f2233
commit
2543c54446
|
|
@ -63,7 +63,7 @@ This has puma reload with any file changes while you are working on the app, whe
|
|||
|
||||
<https://github.com/jeremyevans/rack-unreloader>.
|
||||
|
||||
Basically, you require the app from the config.ru, and then within you app files, any "require_relative" will be "Unreloader.require" instead, plus you do need to include the file extension.
|
||||
Basically, you require the app from the config.ru, and then within you app files, any "require_relative" will be "Unreloader.require" instead, plus you do need to include the file extension when using Unreloader.require.
|
||||
|
||||
In config.ru, the `dev =` line stores true or false depending on the RACK_ENV environment variable (see above for changing from default development). Then the `:reload=>dev` uses the dev variable to tell Unreload to reload files or not. Lastly the `run` command uses the dev variable to choose between running Unreloader, or bypass Unreloader and run App like normal in production.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue