metalbear-co / mirrord

Connect your local process and your cloud environment, and run local code in cloud conditions.
https://mirrord.dev
MIT License
3.81k stars 104 forks source link

Detect mirrord running mirrord #2806

Open aviramha opened 1 month ago

aviramha commented 1 month ago

Some of our users integrate mirrord into their build/run scripts, for example in package.json they do 'mirrord exec ..' Problem is when they also use the IDE they sometime enable it there causing mirrord to run within mirrord, so second mirrord usually fails because remote service account doesn't have permissions, and if it works then it's probably causing slowness. We should be able to detect such scenario from cli and warn/abort I'm leaning towards about.

linear[bot] commented 1 month ago

MBE-447 Detect mirrord running mirrord