Hacker News new | ask | show | jobs
by gempir 3 days ago
I just wish bind mounts would be more performant/native. I get that this is probably impossible, and probably also sucks on Linux, haven't tried.

But like having containers that need file watchers like vite dev server, or frankenphp in watch mode will overload OrbStack real quick since It seems to fallback to polling instead of listening to fs events.

So I'm stuck running vite dev servers and the like on the host.

2 comments

Can you share more details? OrbStack has always supported inotify/fanotify (Linux fs watching APIs) on bind mounts and most people use watchers with no issues. Happy to look into whatever you're running into: danny@orbstack.dev
I'll remember it and email you when I try it again.

Last time I tried all of orbstack froze and I had to restart my whole mac to fix it. But you also did some recent releases that fix issues related to freezing up, so maybe it was unrelated.

Thanks for the great software! Happy enterprise customer

We dealt with this exact issue at my company. The root cause turned out to be something completely unrelated to what we initially suspected.
Hmm, that sounds very vague. how DID you solve it? Do you now run Vite dev servers in containers?