so, I've been playing around with the idea of using a *dagger.Service as a way to do "hot reload" development.
Ideally, I'd love to do something like this:
find . -name "*.go" -type f | entr -r dagger -s call dev --src=. up
(this is actually working code, but only because I'm running it in silent mode.)
Are there common patterns or built-ins that would allow me to see the interactive console or at least the StdOut/StdErr from my running service(s) that others are using?
My secondary thought was maybe I actually run entr inside of the service container, using WithMountedDirectory as a way to expose a mutable src directory into the container, but while I was able to get WithMountedDirectory to mount, I wasn't able to get any bi-directional file access between my host and the container (its probably just something I'm doing wrong).
Anyway - this doesn't seem to pass the sniff test for me, and I'm hoping someone has a obvious thing think I'm missing that you could point me to that works.