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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -