-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache node_modules #8
Conversation
Cat npm-debug.log on exit
Preserve ENV vars CPATH and CPPPATH (composable buildpacks)
* ddollar/master: test node_modules caching always pass a cache dir only cache if there is a node_modules dir cache node_modules comments use npm 1.3.x by default ignore .DS_Store DRY up the hacking docs add a readme section for hackers improve documentation in README update 'no version specified' devcenter url remove extra newline add CONTRIBUTING.md cat npm-debug.log on exit Preserve ENV vars CPATH and CPPPATH (composable buildpacks) Conflicts: README.md
This seems super. Was thinking of doing the same myself and I should have thought to check heroku On Wed, Nov 13, 2013 at 8:44 PM, Brandon Keepers notifications@github.com
|
Tested this out with the @testdouble/double-takes blog Cold push:
Warm push:
Installing bundler & sass is probably the slowest aspect of the whole ordeal Interestingly, the warm push had its slug size cut in half (from 50MB to 25MB) |
How bad do we need Sass? (I really just want LESS) On Wed, Nov 13, 2013 at 8:56 PM, Justin Searls notifications@github.comwrote:
|
If your project doesn't have Sass enabled, the heroku buildpack is smart On Wed, Nov 13, 2013 at 9:02 PM, Jason Karns notifications@github.comwrote:
|
Yeah, I mean I want to switch double-takes from Sass to LESS 😄 On Wed, Nov 13, 2013 at 9:04 PM, Justin Searls notifications@github.comwrote:
|
Without sass I'm getting 1m02.84s |
If you can find an alternative with helpers as nice as bourbon's for On Wed, Nov 13, 2013 at 9:09 PM, Jason Karns notifications@github.comwrote:
|
I highly recommend stylus with nib. It's what SASS and LESS wished they were. I'm using it on bkeepers/github-notifications#21 and absolutely love it. |
This merges in the changes from https://github.com/ddollar/heroku-buildpack-nodejs, which caches the node_modules between deploys. I didn't time it, but it makes deploys SIGNIFICANTLY faster.