You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
add hook to reload the env when prompt is displayed, or give user a headsup #23
I ran tea --sync, which update brewkit 0.11.x to 0.12.0, but it took me awhile to figure out I needed to cd out of my pantry and back in to start using the newer version.
changed the title [-]Detect and warn if a newer brewkit is installed[/-][+]add hook to reload the env when prompt is displayed, or give user a headsup[/+]on May 10, 2023
the main issue I have implementing this is performance. We could do it easily today but it will mean everytime the prompt displays there is the overhead of tea’s startup time which is slow and deno-dependent.
What if tea stored the hash of every tea.yaml (or package.json, cargo.toml with frontmatter) in ~/.tea and when it was different from what's currently on disk, present the changes and optionally sync?
Activity
jhheider commentedon Mar 29, 2023
related to: pkgxdev/pkgx#484 (comment)
mxcl commentedon Mar 30, 2023
Yeah this is a bug in tea/cli
[-]Detect and warn if a newer brewkit is installed[/-][+]add hook to reload the env when prompt is displayed, or give user a headsup[/+]mxcl commentedon Jul 12, 2023
the main issue I have implementing this is performance. We could do it easily today but it will mean everytime the prompt displays there is the overhead of tea’s startup time which is slow and deno-dependent.
rawkode commentedon Aug 10, 2023
What if tea stored the hash of every tea.yaml (or package.json, cargo.toml with frontmatter) in
~/.teaand when it was different from what's currently on disk, present the changes and optionally sync?This is what
direnvdoes.