Skip to content

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

ignoring babel-register parameter at startup

Ilian Sapundshieved7cc5e717e3
diff --git a/app/main.dev.js b/app/main.dev.js
index d21eedb89..362ac6f3a 100644
--- a/app/main.dev.js
+++ b/app/main.dev.js
@@ -44,7 +44,7 @@ process.argv.forEach((arg, count) => {
portableMode = true;
} else if (arg.indexOf('-psn') >= 0) { // ignoring the -psn process serial number parameter on MacOS by double click
arg = '';
- } else if (arg === '.' || count === 0) { // ignoring the first argument
+ } else if (arg === 'babel-register' || arg === '.' || count === 0) { // ignoring the first argument
// Ignore these argument
} else if (arg.length > 2) {
// console.warn('Opening file: ' + arg);