jetheredge/SquishIt — Issue #148: CoffeeScript always compiled in debug
Author: egoodberry
Created: 2012-02-07 18:30:13+00:00
State: open

When rendering a JavaScript bundle that contains references to CoffeeScript files in debug mode, each CoffeeScript file is compiled to JavaScript regardless of whether or not they have been changed. Compiling a single CS file seems to be fairly slow and the added time makes development pretty painful (I've been getting complaints from team members). My bundle contains about 12 separate, healthy-sized (~200 LOC) CoffeeScript files (along with many JS files); every page takes ~6 seconds to load (as compared to .5 seconds in "release" mode).

I find it odd that nobody has reported this; it makes me feel that I must be doing something wrong. I've snooped through the code a bit and may be able to submit a pull request if this is confirmed to be an issue.

Thanks!