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

Livepush not picking up changes #88

Open
bzuu-ic opened this issue Dec 8, 2023 · 0 comments
Open

Livepush not picking up changes #88

bzuu-ic opened this issue Dec 8, 2023 · 0 comments

Comments

@bzuu-ic
Copy link

bzuu-ic commented Dec 8, 2023

I am using Balena local development mode with livepush and notice the changes are not correctly reflected in the running container.

Given the following Dockerfile:

FROM balenalib/generic-aarch64-alpine AS base

COPY dummy.txt .
RUN cat dummy.txt
CMD cat dummy.txt && tail -f /dev/null

And a dummy.txt file:

Before

Then push everything to the local device using:

balena push my-device.local

When I now modify and save the dummy.txt file contents to:

After

I observe the following output:

[Live]    Watching for file changes...
[Live]    Waiting for device state to settle...
[Live]    Device state settled
[Live]    Detected changes for container main, updating...
[Live]    [main] Executing command: `cat dummy.txt`
[Live]    [main]    After
[Live]    [main] Restarting service...
[Logs]    [2023-12-08T10:11:15.820Z] [main] Before
[Logs]    [2023-12-08T10:11:15.372Z] Service exited 'main sha256:96c67930e8033867a7531dfecba206f73d50279c089a4280e1210ff7d3db95b5'
[Logs]    [2023-12-08T10:11:16.348Z] Restarting service 'main sha256:96c67930e8033867a7531dfecba206f73d50279c089a4280e1210ff7d3db95b5'

Notice that it still shows Before in the output, although it also has picked up the After version a few lines prior.

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

No branches or pull requests

1 participant