rails/rails — Issue #3430: Windows, Jruby, Rails 3.1.0/1 - Same file (Sprockets)
Author: expectationgap
Created: 2011-10-25 02:27:51+00:00
State: open

On windows, running Jruby 1.6.4 - this issue occurs in Sprockets 2.0.0 and 2.0.2, Rails 3.1.0 and 3.1.1

Spin up a sample Rails project with a scaffolded controller. Start the server. Edit the controller's css.scss file with any change & save. Refresh the page. On Mac/Linux - things are fine. However, on windows you receive a "same file" error. This happens every time you change the file - and you must run: rake assets:clean to get past it.

Same behavior for coffeescript files (though again, only on windows). Asked the sprockets guys, but they recommended I send the ticket your way.

Any thoughts?