Giter Club home page Giter Club logo

Comments (10)

maiamcc avatar maiamcc commented on May 10, 2024 1

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.

nicks avatar nicks commented on May 10, 2024

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.

datosh avatar datosh commented on May 10, 2024

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.

jazzdan avatar jazzdan commented on May 10, 2024

@nicks is this issue resolved with the --auto-deploy flag of tilt up?

from tilt.

nicks avatar nicks commented on May 10, 2024

@jazzdan no, that doesn't work for this use-case because it still relies on filechange events to do things

from tilt.

maiamcc avatar maiamcc commented on May 10, 2024

@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.

datosh avatar datosh commented on May 10, 2024

@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.

maiamcc avatar maiamcc commented on May 10, 2024

@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.

MattHodge avatar MattHodge commented on May 10, 2024

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.

dolsem avatar dolsem commented on May 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.