How to compile an external Coffeescript file to HTML?
<p>I have a HTML file, which I want to link to an external Coffeescript file (the CS file is called <code>main.coffee</code>). I tried doing this:</p>

<p><code>&lt;script type="text/coffeescript" src="main.coffee"&gt;&lt;/script&gt;</code></p>

<p>But it didn't work. What's wrong?</p>

<p>I have Coffeescript installed through NPM, if it helps.</p>