rstacruz / sinatra-assetpack

Package your assets transparently in Sinatra.
http://ricostacruz.com/sinatra-assetpack/
MIT License
542 stars 96 forks source link

.coffee files - cache not invalidated? #97

Open jtreitz opened 11 years ago

jtreitz commented 11 years ago

/javascripts/test.coffee:

alert "foo"

curl "http://localhost/javascripts/test.js":

(function() {
  alert("foo");
}).call(this);

if I change the coffee file to:

alert "bar"

curl "http://localhost/javascripts/test.js" still gives me:

(function() {
  alert("foo");
}).call(this);
j15e commented 11 years ago

Do you have RACK_ENV=development set?

jtreitz commented 11 years ago

yes

j15e commented 11 years ago

Might be related to #52 too