dsc/connect-compiler — Issue #1: this.die() not found
Author: psionides
Created: 2011-12-26 01:46:41+00:00
State: open

I've added the compiler middleware to my Express app for development mode, with enabled = ['coffee']. However, the middleware crashes on every request, because when it tries to parse any request, it gets to a line that calls this.die() and fails because the "this" object doesn't have such method.

(The reason why it gets to this line isn't actually an error, it's trying to match a request that isn't even loading a static asset (it's handled by a controller action) and since the URL doesn't end with ".js", it gives up.)

Error message:

TypeError: Object #