Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
An exception occurs when invoking the rake task via ./bin/rails. ``` bin/rails aborted! NoMethodError: undefined method `watch' for Spring:Module (NoMethodError) Spring.watch event.payload[:env].filename if Rails.application ^^^^^^ .bundle/ruby/3.2.0/gems/dotenv-3.1.3/lib/dotenv/rails.rb:16:in `block in <main>' ``` When using `./bin/rails`, 'spring/client' is loaded, but 'spring/watcher', which is unnecessary for the client-side, is not required. This PR follows up on #511 and fixes exception.
- Loading branch information