ember-cli-rails: Receiving directory already being watched error for ember compiled assets
Every time I start puma I receive a large number of warnings to the tune of
** ERROR: directory is already being watched! **
Directory: /Users/david/projects/ia/frontend/tmp/template_compiler-output_path-lTPkTaqW.tmp/modules/ember-cli-foundation-6-sass/templates
is already being watched through: /Users/david/projects/ia/frontend/tmp/template_compiler-output_path-lTPkTaqW.tmp/modules/ember-cli-foundation-6-sass/templates
MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors
I am using Rails 5 beta 3. But I used to see these with my other rails 4 app too.
I am not using guard or any type of reloading strategy other than what is provided by ember. This is a pretty new app with only a few routes and no rails code yet.
The link in the error message is not very helpful. Have you seen this before and can you suggest any way to suppress or remove?
About this issue
- Original URL
- State: open
- Created 8 years ago
- Comments: 28 (14 by maintainers)
I got it! Finally … We have the following setting in our
config/environments/development.rb
:This is default when you create a new rails 5 application, you can check that file after running
rails new asdfasdf
.Removing that line, solve the errors.
bundle show listen
:/Users/benny/.rvm/gems/ruby-2.3.3/gems/listen-3.1.5