I have a problem with js files being compiled in development.
I have an application.js file that includes multiple other files like this:
//=require_tree .
the files in the directory are
app/assets/javascripts/user_row.coffee
app/assets/javascripts/index.coffee
Whenever I make a change to one of those files a corresponding js file gets created in the app/assets/javascripts directory, so I change user_row.coffee and I get:
app/assets/javascripts/user_row.js
This is in development mode, with the default asset configuration (I haven't changed development.rb from what the rails generator creates).
If I change the user_row.coffee file again, it gets overlooked and the already existing js file gets included by application.js.
What I don't understand are why these js files being created in the app/assets/javascript directory rather than under tmp/cache/...
Any ideas?
:cache_store => [ [0] :file_store, [1] "/Users/[...]/tmp/cache/assets/" ]which to me looks like things should be stored in tmp/cache/assets.... Am I wrong? - Mina Smart