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

Run a command before live_update sync #6466

Open
daveagill opened this issue Nov 8, 2024 · 0 comments
Open

Run a command before live_update sync #6466

daveagill opened this issue Nov 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@daveagill
Copy link

Describe the Feature You Want

We want the ability to run a command before the live_update sync() calls in order to stop a wrapped child process before syncing files.

Current Behavior

According to the documentation run() must come after sync(). So syncing happens while the process is running.

Why Do You Want This?

Syncing in files while the process is running can cause instability and/or the application could hold file locks. We would like to cleanly stop the (wrapped/child) process -> then sync the files -> then launch the new process. This would be easily done if it were possible to place a run() command before sync() or if docker_build supported a pre_live_update option.

@daveagill daveagill added the enhancement New feature or request label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant