Skip to content

Commit

Permalink
Merge pull request bkeepers#118 from bkeepers/spring
Browse files Browse the repository at this point in the history
Watch .env for changes with Spring in Rails 4
  • Loading branch information
bkeepers committed Jun 16, 2014
2 parents 80beedf + 3449dc8 commit 04b7671
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/dotenv-rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@
end

Dotenv.load '.env'

Spring.watch '.env' if defined?(Spring)

0 comments on commit 04b7671

Please sign in to comment.