3 ms·
We've been using tilt [1] for a similar process. If you are doing a k8s deployment anyways then tilt is really quiet nice once properly setup. The one thing t
by cogman10 2y ago
We've been using tilt [1] for a similar process.
If you are doing a k8s deployment anyways then tilt is really quiet nice once properly setup.
The one thing that isn't so nice is local package caching. That's a hard problem to solve and containers makes it annoying to get right.
[1] https://tilt.dev/ https://tilt.dev/
- throw156754228 2y agowhat's so hard about local package caching? Just bind mount all containers npm package cache location to a location on the host.
- cogman10 2y agoBiggest issue I run into is building the initial container. I'd like to take advantage of docker caching so while doing dev you can just start up the container with most everything built. However, that requires working with non-docker caches. Unfortunately there's no way to bind the caches while building you can only do that with the running container image.
- throw156754228 2y agoYeah, that's a one off cost though.. it's the equivalent of running npm install or whatever for the first time on a new pc.