-
Notifications
You must be signed in to change notification settings - Fork 306
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
docker_build_with_restart not restarting service after the first time #6424
Comments
sorry to hear you're having trouble. i was not able to reproduce this problem. here are the repro steps i tried:
are you able to repro with the same project? that will help narrow down if it's specific to your project or specific to your machine. |
I am also facing this exact same issue! here is a copy of my output from the tilt ui dashboard. I can see that Tilt correctly identifies that files have changed, and on the first pass will rerun a startup command. (You can see my print statements "THIS HAS STARTED"). But then new changes occur, but the entry command doesn't get rerun (as indicated by the lack of my print statement)
|
Expected Behavior
The service should restart every time a sync file changes
Current Behavior
The first time a sync file changes it restarts as expected but does not on subsequent changes.
First time (with some minor redactions):
The second time it looks exactly the same but stops after
→ Container app-65b7fdb4f9-9hcn/app updated!
line.I verified that
/tmp/.restart-proc
is being updated and not sure what else could be causing this.Steps to Reproduce
I'm not 100% sure it is specific or not to my setup.
Context
tilt doctor
OutputAbout Your Use Case
Pretty frustrating as it took me a while to realize this was happening. For now I have disabled sync and fall back on container restart so this is not a critical issue but would definitely like some help resolving.
The text was updated successfully, but these errors were encountered: