Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

VS Code was unable to detect changes to HelloController.java #29

Closed
doddatpivotal opened this issue Nov 23, 2021 · 4 comments
Closed

VS Code was unable to detect changes to HelloController.java #29

doddatpivotal opened this issue Nov 23, 2021 · 4 comments

Comments

@doddatpivotal
Copy link

Using the Tiltfile from the beta-3 branch, my VS Code could not detect changes I made to HelloController.java even though I had AutoBuild set to Enabled. I found when I updated the Tiltfile to include the ant-style wildcard, then the reload occurred as I expected...

['pom.xml', './target/classes'],
live_update = [
sync('./target/classes**/', '/workspace/BOOT-INF/classes')
],

@paulcwarren
Copy link
Collaborator

The sync rule is just a plain old operating system path and as far as I know none support the ant-style matchers like that. I am half surprised that actually worked. I suspect the underlying OS is being lenient with you there.

Before it started working, did you see any errors in the tilt logs?

@amakhija
Copy link
Contributor

amakhija commented Dec 2, 2021

Also, do you mind sharing a few more details here:

  1. Could you share what your Tiltfile & workload.yaml look like?
  2. What Kubernetes cluster are you running against? And what all do you have installed on that cluster?
  3. What steps did you take before you saw this behavior? (E.g. deployed from CLI then started live update from the IDE)

@doddatpivotal
Copy link
Author

Thank you for the feedback. I will be do a fresh round of testing with the upcoming beta-4 release on 12/2. I'll get responses quickly.

@doddatpivotal
Copy link
Author

I am no longer facing this issue. It must have been my local configuration and successive re-deploys of later TAP versions and cleaning up my environment, must have resolved the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants