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

feat: add dev deploy hot reload workflow #2470

Closed
wants to merge 16 commits into from
Closed

Conversation

lucasrod16
Copy link
Member

Description

This PR adds a new flag to zarf dev deploy to enable hot reloading while developing Zarf packages.

zarf dev deploy --watch

The goal of adding this flag is to help create a tight feedback loop while adding features, fixing bugs, or tweaking configurations in Zarf packages. This allows package developers to focus on their package changes and get fast feedback from them.

Zarf watches the directory provided in zarf dev deploy and all of its subdirectories for changes to any files. If a change to any files in the watched path(s) is detected, Zarf will automatically execute zarf dev deploy for the user to instantly deploy the latest changes to the cluster.

Zarf ignores any paths defined in a .gitignore file if one is present in the provided directory.

Checklist before merging

Copy link

netlify bot commented May 1, 2024

Deploy Preview for zarf-docs canceled.

Name Link
🔨 Latest commit 6f715e0
🔍 Latest deploy log https://app.netlify.com/sites/zarf-docs/deploys/663e4206989d210008cd3789

@lucasrod16 lucasrod16 closed this May 21, 2024
@lucasrod16 lucasrod16 deleted the dev-deploy-watch branch May 21, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant