sstephenson/sprockets — Issue #238: cached js file does not refresh
Author: railsjedi
Created: 2011-11-06 08:33:58+00:00
State: open

I found a common scenario that confuses sprockets and causes js files not to refresh when updated in dev mode.

preconditions: the name of a folder is the same as the name of a file, and you are doing a require_tree on the folder
when: changing a js.coffee file inside the folder
error: sprockets uses the cached js file and changes are updated until I delete tmp/assets

versions:
sprockets 2.0.3
rails 3.1.1