-
Notifications
You must be signed in to change notification settings - Fork 316
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
Rebuilds with Live Update: Nested file deps #5372
Comments
Hi @maximegel, This is a bit of a basic question, but are you sure you saved the file after editing it? |
Hi @lianmakesthings, yes I saved the file properly. I'm working inside a ubuntu devcontainer and I installed Tilt by downloading and unpacking the release artifact from github. Do it need additionnal ubuntu packages? |
Hi @maximegel, could you elaborate a bit more on how your setup works? |
this is a long shot, but any chance you're running Ubuntu on Windows/WSL2 and have a filesystem that's crossing windows/linux boundaries (e.g., some parts of the directory tree are managed by Windows and some by Linux). Tilt will generally work on WSL, but there are some nuances if you're running Ubuntu on a filesystem controlled by Windows, and which might behave this way: |
I'm developing inside a devcontainer which I access using the Visual Studio Code Remote - Containers extension. So yes, the files are mounted from Windows into a Ubuntu container via a Docker volume. |
@maximegel Are you running Ubuntu on WSL2 and could it be related to the issues @nicks linked? |
marking this as a duplicate of the WSL issue, which has some good workarounds that should help! |
Expected Behavior
Nested file deps should trigger live updates.
Current Behavior
Specifying nested files as ressource dependency using
local_resource()
deps
param or usingsync()
do not trigger a rebuild.Steps to Reproduce
local_resource()
in Tiltfile:It works fine if a move "./apps/foo.txt" in the Tiltfile directory and update the path in Tiltfile.
Context
tilt doctor
OutputAbout Your Use Case
I just started working with Tilt maybe I'm doing something wrong?
The text was updated successfully, but these errors were encountered: