gruntjs / grunt-contrib-coffee

Compile CoffeeScript files to JavaScript.
http://gruntjs.com/
MIT License
329 stars 127 forks source link

Timestamp for non cache sourcemaps #122

Closed darky closed 10 years ago

darky commented 10 years ago

Example: sourceMappingURL=some_map.js.map?0934503458

Because: https://code.google.com/p/chromium/issues/detail?id=301289

sindresorhus commented 10 years ago

That issue hasn't even been confirmed. You can use grunt-replace or something to add a timestamp yourself ;)

jamesplease commented 10 years ago

Also, according to the reporter it seems to only affect the map that it displays; he says it still maps the errors correctly. As I imagine most people only care about it mapping the errors I bet this would go unnoticed by 99.9% of users.

darky commented 10 years ago

Where your front-end single-page project contain over 100000 lines of code, you fall in love intelligent livereload, when reloaded maximally small scope of scripts. (Theme of intelligent livereload very hot, I had written own bicycle. If you found turnkey solution, say me please ;) )

And would be cool, where with scripts intelligence livereloaded source maps too. It's real livecoding on coffeescript. I feel like Neo in the matrix!

@sindresorhus Yes, I use grunt-replace and manually stamp fresh generated js If 0.1% of users suddenly need in livereloaded sourcemaps, they enlightened!