fix for o2switch (pm2 + doc + vite)
This commit is contained in:
+1
-3
@@ -74,6 +74,4 @@ async function main() {
|
||||
console.log(`Worker started, polling every ${config.workerPollIntervalMs}ms`);
|
||||
}
|
||||
|
||||
if (import.meta.url === pathToFileURL(process.argv[1]).href) {
|
||||
main();
|
||||
}
|
||||
main();
|
||||
Reference in New Issue
Block a user