Open a-b opened 7 years ago
The plugin will keep the rake process in cache
, this might also be spring
related.
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
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?