Brad Carleton
Brad Carleton
It's coming. I'm taking suggestions if anyone has them of what they'd like to see as far as a live demo is concerned.
I like this idea, I've been doing something similar. Although, I'd rather add this feature a little higher up, to the actual `rack` itself.
Maybe we could add an options hash?
I mostly like this alot! Let me think on it. I think you did a great job of explaining the benefits of the framework.
Alright, this is finally done: https://github.com/techpines/asset-rack/blob/master/README.md#running-in-production-mode
Ok, you want to write the assets to disk. It's coming.
I think the problem is that you can't add assets dynamically. Maybe this would be a good feature to have for this use case.
@noc7c9 Worked on a low level syntax for adding assets. Maybe, a syntax like this would be beneficial: ``` js assets.add(new rack.Asset({ url: '/j/app.settings.json', contents: '' })); ```
Yes I would definitely accept a pull request for it. You can still use the socket.io socket like this: ``` js req.io.socket.volatile.emit(event, data) ``` But I think it would be...
I would use cloud hosting at the moment. I need to update the version of uglify-js, here's the relevant issue: https://github.com/mishoo/UglifyJS2/issues/229 Non-deterministic asset creation will cause problems, otherwise @dankohn