Skip to content

Looking for ideas on how to integrate overmind with git worktrees #187

@madhermit

Description

@madhermit

I currently use overmind to manage my frontend and api using a Procfile.dev that points to each dir using a env var.
I'm trying to use a git worktrees workflow, which basically means different branches reside in different directories.

I originally wrote a shell script that basically gets the path of worktree dir I'm currently in, updates an env var with that path and then issues a overmind restart api. However I'm finding that the restart command doesn't pull in the updated env var.

Aside from fully stopping and starting overmind each time, I'm looking for some ideas on how best to achieve this.
As an aside, anyone who currently uses git worktrees, what does your workflow look like?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions