import "../../../../shared/src/dotenv.js";
import { exitAfter } from "../../services/life-cycle.js";
import { singleProcessMode, parentWorker } from "../../types/processes.js";
import { runWorker } from "./run-worker.js";
if (!singleProcessMode()) {
  void exitAfter(() => runWorker(parentWorker, process.env));
}
export {
  runWorker as default
};
//# sourceMappingURL=main.js.map
