Running grunt requirejs on my mac seemed to build fine, but the file output after doing a file --mime app.jswas application/octet-stream; charset=binary. Problem is that my GoLang web server interprets this as text/html for some reason.
I can get my server to force the mimetype, but im thinking either r.js or something inbetween could be the culprit.
Running
grunt requirejs
on my mac seemed to build fine, but the file output after doing afile --mime app.js
wasapplication/octet-stream; charset=binary
. Problem is that my GoLang web server interprets this astext/html
for some reason.I can get my server to force the mimetype, but im thinking either r.js or something inbetween could be the culprit.
Grunt: 0.4.2 Node: 0.10.24 RequireJS: 2.1.9 MacOSX: 10.9.2