PNPM on startup?


#1

So recently I believe a day ago on startup/refresh I started getting this in the logs before it booted up my application thingy.

node v8.11.2, with pnpm
Installing…

It would then install everything… this adds about 10 seconds onto the refresh of my stuff. Why is this and can I disable it somehow?


#2

We use pnpm rather than npm as it allows us to store the node modules centrally, which means they don’t count towards your project space. While they do reinstall on project startup we use caching so that this should happen instantly and shouldn’t add to your startup time once the cache has been established. See https://medium.com/glitch/tackling-the-biggest-pain-points-in-web-development-57d64afe19dc for more details.


#3

If it’s always taking ten seconds, that sounds like a bug. What’s the name of the project?