4 ms·
> Hyper tries to run `npm prune && npm install --production` on every startup. Wait, what, really? Wouldn't that leave you without dependencies if you don't ha
by kolme 10y ago
> Hyper tries to run `npm prune && npm install --production` on every startup.
Wait, what, really? Wouldn't that leave you without dependencies if you don't have internet connection at the time?
Seems a very dangerous thing to do for many, many reasons.
- madeofpalk 10y agoDepends whether you already have the dependencies or not I guess - I'm not sure if it ships with a node_modules or not. FWIW `npm prune` only removes modules from node_modules that aren't specified in package.json. It won't actually remove and declared dependencies.