bdkjones / CodeKit-1-Old

146 stars 1 forks source link

Coffee Script with JS Includes #667

Open rkingon opened 11 years ago

rkingon commented 11 years ago

So,

Reading through some articles I found on the interweb, it appears the correct method for handling js + coffee is to:

  1. Create a coffee file that compiles
  2. Create a JS file
  3. @codekit-prepend (or append) your compiled coffee file

This works- Whenever I save any of the js files directly (or process within codekit). However, where the bug seems to lie is when saving the coffee file it compiles it's js, but codekit is not picking up that a prepended (or appended) js has been updated. Therefor not re compiling my main javascript file with the updated compiled coffee file.

Example Structure:

Thanks! :)

slimndap commented 10 years ago

I have the same issue. Can it be Maverick?