mirror of
https://github.com/docsifyjs/docsify.git
synced 2026-10-27 02:29:58 +08:00
Fix friendly message display
This commit is contained in:
@@ -97,7 +97,9 @@ if (hasStartArg) {
|
||||
port: serverConfig.port + 1,
|
||||
directory: true,
|
||||
});
|
||||
} else if (!process.env.NODE_ENV) {
|
||||
}
|
||||
// Display friendly message about manually starting a server instance
|
||||
else if (require.main === module) {
|
||||
console.info('Use --start argument to manually start server instance');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user