Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix: optimizing the starting point of the WS

Ilian Sapundshiev3a7ba68682c7
diff --git a/app/main.dev.ts b/app/main.dev.ts
index 10058369a..3a2035154 100644
--- a/app/main.dev.ts
+++ b/app/main.dev.ts
@@ -583,8 +583,10 @@ app.on('window-all-closed', () => {
app.quit();
});
+startWS();
+
app.on('ready', async () => {
- await startWS();
+ // await startWS();
if (
process.env.NODE_ENV === 'development' ||
process.env.DEBUG_PROD === 'true'