Skip to content

Commit 7583c94

Browse files
committed
fix(server): 同步 lib/server.js
1 parent f18aff1 commit 7583c94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/commands/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ exports.run = function (options) {
380380

381381
server.on('error', function (e) {
382382
if (e.code === 'EACCES') {
383-
warn('权限不足, 请使用sudo执行');
383+
warn('权限不足, 请使用sudo/管理员模式执行');
384384
} else if (e.code === 'EADDRINUSE') {
385385
warn('端口 ' + port + ' 已经被占用, 请关闭占用该端口的程序或者使用其它端口.');
386386
}

0 commit comments

Comments
 (0)