1602 / compound

MVC framework. Built on Node.JS. Works on server and browser.
http://compoundjs.com
1.6k stars 182 forks source link

regenerate merged css and js on every initialization #644

Closed sagish closed 6 years ago

sagish commented 10 years ago

according to timestamp to prevent outdated merged cache, fixes #621

alexiskattan commented 10 years ago

@anatoliychakkaev @sagish would it be possible to merge this update to fix the caching of js into the main branch on npm? It would help out tremendously. Thanks. Loving the framework!

alexiskattan commented 10 years ago

@sagish @anatoliychakkaev Sorry, I'm I don't quite get git at the moment. But I'll ask anyway. Is there a way to get a fork with just this change so that I can use it on heroku?

qfox commented 10 years ago

@alexiskattan Why not to use it from git? Just put "alexiskattan/compound#branch" as version to your package.json. Also you need to fork https://github.com/sagish/compound to your github account.

alexiskattan commented 10 years ago

@zxqfox oh gosh! Thank you. It worked like a charm!!! The caching is fixed. Thank you for teaching me how to do that. Also, in case anyone else needs it is "alexiskattan/compound", the "#branch" makes it not work.

alexiskattan commented 10 years ago

@zxqfox oh actually, I see what the #branch does. I took it too literally. opps.

qfox commented 10 years ago

@alexiskattan :+1: :-D