-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
While working with rails
version 5, and ember-cli-rails
, I end up waiting minutes for the rails console to come up, because spring-watcher-listen
is observing changes on folders such as bower_components
and node_modules
, which tend to be huge trees.
I had to come by with a nasty workaround - see related issue on thoughtbot/ember-cli-rails - on the config/spring.rb
file:
Spring::Watcher::Listen.class_eval do
def base_directories
%w(app config lib spec vendor)
.uniq.map { |path| Pathname.new(File.join(root, path)) }
end
end
%w(
.ruby-version
.rbenv-vars
tmp/restart.txt
tmp/caching-dev.txt
).each { |path| Spring.watch(path) }
Is there something to be done to configure this?
AndrewRadev, dzhlobo, pwnall, skull-squadron, aried3r and 9 more
Metadata
Metadata
Assignees
Labels
No labels