it's a concurrency problem btw, that's why monorepos every time you dissociate two things that are running in parallel and interacting you have to deal with synchronisation between the two processes, and if you don't you have a mess