Skip to content
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

lazy loading causes delay on every command w/ spaceship-prompt theme #77

Open
diminutivesloop opened this issue Mar 12, 2021 · 0 comments

Comments

@diminutivesloop
Copy link

When I have NVM_LAZY_LOAD enabled I experience a several second delay after every command I run before the prompt returns. This appears to be caused by the spaceship prompt attempting to determine the current Node.js version when it detects a Node.js project in the current directory. I understand why lazy loading is triggered in this case, but I don’t get why it’s happening every time I run a command. Isn’t lazy loading only supposed to happen once per session?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant