forked from rails/spring
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Print "Running via Spring preloader" message from the app process
Rather than from the Spring client process. See https://github.com/rails/spring/pull/455/files#r48411471 Within the app process, we'll have access to the spring config, to see whether Spring.quiet has been set. This means we can remove the spring/commands require from the client side, which should never have been added and caused problems (rails#456, rails#457). I'm getting rid of the feature which omits this message when run manually (i.e. `spring rails runner ...` rather than `bin/rails runner ...`) because: 1. It makes the implementation more complicated 2. YAGNI
- Loading branch information
1 parent
8fff76c
commit 0a80019
Showing
5 changed files
with
7 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters