tj / serve

Simple command-line file / directory server built with connect - supports stylus, jade, etc
563 stars 70 forks source link

CoffeeScript #15

Open btmills opened 11 years ago

btmills commented 11 years ago

Can we get some input on whether CoffeeScript isn't going to be added or just hasn't been done correctly yet? There are two pull requests right now (#11 and #12) that attempt to add CoffeeScript, though I could see potential issues with each - nonstandard version and synchronous I/O, respectively. The version I've been using locally (and have pushed to my fork at btmills/serve):

I didn't want to send yet another pull request for the same feature until there was some feedback on what's really needed, though I think CoffeeScript support is definitely worth adding.

btmills commented 11 years ago

I looked into adding line/column reporting to syntax errors but went ahead and pushed the basic implementation with just the error message. It would be trivial for me to add line/column info and get rid of the compiler stack trace if this is worth pursuing.

g8d3 commented 9 years ago

Thanks.

Does that work if I use :coffeescript in jade files?