Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.env not reloaded by Spring in Rails 4.1.0 #117

Closed
thebucknerlife opened this issue Jun 6, 2014 · 1 comment · Fixed by #118
Closed

.env not reloaded by Spring in Rails 4.1.0 #117

thebucknerlife opened this issue Jun 6, 2014 · 1 comment · Fixed by #118

Comments

@thebucknerlife
Copy link

Out of the box, Spring will not watch .env for changes. This can cause problems with rails console or test suites.

Current fix is to create a Spring config file and include this:

# config/spring.rb

Spring.watch ".env"

Maybe we can bootstrap rails apps with the new config file and option?

@bkeepers
Copy link
Owner

Interesting. We can probably just add Spring.watch to the railtie.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants