Compiling a single coffeescript file breaks the asset pipeline rails -
i getting non-descriptive errors coffeescript in rails project, compiled single file narrow down line number causing problem:
coffee -c app/assets/javascripts/myfile.coffee
now every time edit , save file, changes don't propagate browser.
i tried deleting /tmp folder , public/assets folder well, did not me.
when this:
coffee -c app/assets/javascripts/myfile.coffee
coffee
produce javascript in:
app/assets/javascripts/myfile.js
presumably myfile.js
generated hiding .coffee
file or interfering usual .coffee
.js
compilation.
try deleting stray myfile.js
.
Comments
Post a Comment