Skip to content

add hook to reload the env when prompt is displayed, or give user a headsup #23

Open

Description

@magnusviri

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.

Activity

  1. jhheider commented on Mar 29, 2023

    @jhheider
    Contributor
  2. mxcl commented on Mar 30, 2023

    @mxcl
    Contributor

    Yeah this is a bug in tea/cli

  3. transferred this issue frompkgxdev/brewkiton May 10, 2023
  4. 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
  5. mxcl commented on Jul 12, 2023

    @mxcl
    Contributor

    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.

  6. rawkode commented on Aug 10, 2023

    @rawkode

    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?

    This is what direnv does.

  7. added
    enhancementNew feature or request
    and removed
    enhancementNew feature or request
    on Oct 20, 2023
  8. transferred this issue frompkgxdev/pkgxon Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions