We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b135f84 commit 3a4da88Copy full SHA for 3a4da88
test/config/server.js
@@ -97,7 +97,9 @@ if (hasStartArg) {
97
port: serverConfig.port + 1,
98
directory: true,
99
});
100
-} else if (!process.env.NODE_ENV) {
+}
101
+// Display friendly message about manually starting a server instance
102
+else if (require.main === module) {
103
console.info('Use --start argument to manually start server instance');
104
}
105
0 commit comments