We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to draw routes as soon as routes.rb changes. My Guardfile:
guard :rake, task: :routes, run_on_start: true, run_on_all: false do watch('config/routes.rb') end
The problem is that when I change file rake routes output does not reflect recent changes. Also, it runs very fast, like the rails app been preloaded.
rake routes
How to approach this problem?
The text was updated successfully, but these errors were encountered:
The plugin will keep the rake process in cache, this might also be spring related.
cache
spring
Sorry, something went wrong.
I switched to guard-shell for my usecase, it should be trivial for yours, too.
https://github.com/guard/guard-shell
guard :shell do watch(%r{^config/routes.rb}) do `bin/rake routes` end end
No branches or pull requests
I'm trying to draw routes as soon as routes.rb changes.
My Guardfile:
The problem is that when I change file
rake routes
output does not reflect recent changes.Also, it runs very fast, like the rails app been preloaded.
How to approach this problem?
The text was updated successfully, but these errors were encountered: