JonAbrams / synth

The first back-end framework specially designed for single-page web applications
http://www.synthjs.com
MIT License
968 stars 70 forks source link

Support back-app.coffee #40

Closed alexeyismirnov closed 10 years ago

alexeyismirnov commented 10 years ago

I tried to convert back-app.js into back-app.coffee, but the latter does not seem to be recognized by Synth:

[root@alexey hacc2]# synth s ... Error: Cannot find module '/root/hacc2/back/back-app.js'

However, Coffeescript is supported in all other locations. So, it would be nice to support it here as well...

JonAbrams commented 10 years ago

I actually haven't tested coffeescript on the back-end yet. Does it work in other back-end files, like under /resources?

alexeyismirnov commented 10 years ago

Yep, works perfectly :-) This is actually demonstrated in my example (synth-auth-example)

JonAbrams commented 10 years ago

In that case it's already working better than expected! We may as well make coffeescript work with all files though :)