Is there a way to determine how CoffeeScript compiles in subdirectories? Please consider the following example:
Files:
- CSI /App.coffee
- SIC / view / B.coffee
- CSI / view / a / A.coffee
If class A extends B.
coffee --join js/app.js --compile src/view/ src/App.coffee
This causes a browser error:
Uncaught TypeError: Cannot read property 'prototype' of undefined
If I rename folder a to z , the error will disappear and everything will be fine.
- Src / view / g / A.coffee
I would expect the compiler to read all .coffee files from src / view / before it goes into src / view / sub-directories. Again, is there a way to do this?
Edit:
Windows 7 PC, CoffeeScript version 1.3.3
source
share