Skip to content

Allow running a task before building an image similar to the devenv:enterShell #1731

@vendion

Description

@vendion

I want to achieve a result similar to what is documented in the Running artifacts, except that makes use of processes.*.exec which also runs when I do devenv up. I would rather not have a production binary being built every time I make a change in my development cycle, I am utilizing air to live build and reload my project during development. It seems the tasks system would be perfect for my use case of kicking off a production build when I do a devenv container build or devenv container run, but I cannot find any documentation saying if there is an appropriate hook for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions