Comments (10)
Hey folks, we've just shipped Force Update! -- take a look and let us know if this meets your needs, and feel free to drop us a line/open another issue if there's big functionality missing, or ways you think we can improve it :)
from tilt.
Oof, that's good to know.
I can think of a few different ways to fix this.
One would be to use a polling filewatcher like the WSL issue suggests. This is slow, but would work.
Another would be to add a key like to force rebuild + deploy. This would be easy to do, and something we should probably do anyway, though you'd miss out on some of the incremental build optimizations, because Tilt wouldn't know what's changed.
Question: why are you using WSL? I'm asking because we're also trying to figure out how to prioritize native Windows support. If you'd rather have Tilt on Windows than a subpar Tilt on WSL experience, that'd be good to know!
from tilt.
Thanks for the quick feedback!
I'm using WSL, since most of the tools are native to Linux, and I'm forced to work in a Windows environment. WSL works better than using a VM (only in some ways) since you do not have the additional virtualization layer. For example it's easier to spawn a virtual machine from Ubuntu running in WSL, than Ubuntu running in (e.g.) Virtual Box, since you do not have to forward the virtualization capabilities. Some tools do not even support the forwarding!
Yeah so bottom line: I prefer better WSL support over Windows support, but I think other people have different needs. And, as already stated, it works like a charm, aside from the file watch problem, which is ultimately a WSL bug.
from tilt.
@nicks is this issue resolved with the --auto-deploy
flag of tilt up
?
from tilt.
@jazzdan no, that doesn't work for this use-case because it still relies on filechange events to do things
from tilt.
@datosh, I don't know if you're still interested in this, but for what it's worth, we've spec'd out a possible solution. TBD when we're going to start implementing, but just wanted to let you know that it's still on our radar.
from tilt.
@maiamcc, thanks for the update :)
I have read the proposed solution, and I think this is heading in the right direction.
In the spec you talk quite a bit about changes to the UI, do you also consider CLI changes? This might be helpful for things like editor / IDE integration. Is this in focus of Tilt?
I think it would be nice to use the build/deploy capabilities of, e.g., VS Code, or even write a simple Tilt plugin to make it a first class citizen in VS Code? No necessarily right now, but keeping the options open.
from tilt.
@datosh yeah, I think that's a possibility, but pretty far in the future for us. Still, it's definitely crossed our minds (it's on our roadmap for later) -- glad to hear that other people are interested in this, it's useful data!
from tilt.
An example issue I had where a way to force a rebuild would be useful:
- I make a change and am building / pushing an image. My ECR token times out, causing the push to fail and Tilt to show the error.
- Without another code change, I cannot "retry" the build after I login to ECR.
from tilt.
I also find this feature to be very helpful. My use case is unreliable network connection, which sometimes causes docker build to fail. It would be nice to be able to restart build/deploy of a specific microservice without restarting everything else.
Also, it seems like the current idea is to have a specific trigger mode that allows you to restart a service. I think it would make more sense to be able to restart any service manually, even if it's configured to auto-restart on file changes, etc. This feature would always be enabled, unless there's a significant overhead, in which case there should probably be a way to opt in/out. In terms of UI, perhaps a regular icon should change to that reload icon on hover, to indicate that a click will manually restart the service.
from tilt.
Related Issues (20)
- New issue
- New issue HOT 1
- Add stopResourcesBeforeRun to local_resource
- service grouping across namespaces is wrong
- custom_build_with_restart dosnt work for env and dir params HOT 2
- tilt ci waits on a local job yaml, but fails to wait for a helm installed job
- release web assets as part of release
- Tilt can't find object using fully qualified K8s Object Selector HOT 4
- Docker Compose with profiles fail to start HOT 1
- workload_to_resource_function does nothing for resources from docker_compose or dc_resource
- dc_resource's new_name parameter causes Tiltfile warnings if docker depends_on is used with that resource
- Tilt does not support incremental builds
- Tilt syncback does not work on WSL2 (Linux subsystem for Windows) HOT 3
- tilt down does not kill Tilt process HOT 1
- Support Tiltfile args with `tilt enable` HOT 1
- Docker compose profiles set to * doesn't work HOT 4
- Tilt tries to push to docker registry when used with rootless docker + minikube HOT 4
- livenessProbeProbe returns Connection Refused HOT 1
- [Bug] Unable to call commands on host from within `workload_to_resource_function` method HOT 2
- Override auto_init for `tilt ci` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tilt.