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

pixi shell should restart when lockfile changes #1018

Open
wolfv opened this issue Mar 19, 2024 · 0 comments
Open

pixi shell should restart when lockfile changes #1018

wolfv opened this issue Mar 19, 2024 · 0 comments
Labels
✨ enhancement Feature request

Comments

@wolfv
Copy link
Member

wolfv commented Mar 19, 2024

We should implement a watch-hook or something so that pixi shell restarts anytime the lockfile/environment changes.

The problem is that new packages might need to run activation scripts, and the PATH needs to be "re-hashed" for bash and zsh.

We currently have some fixes for bash and zsh, but a proper fix would also work for any other shell. Restarting is probably the most effective way of achieving this.

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

No branches or pull requests

2 participants