summaryrefslogtreecommitdiff
path: root/script/proto/proto.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/proto/proto.lua')
-rw-r--r--script/proto/proto.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/script/proto/proto.lua b/script/proto/proto.lua
index 78400f97..5193fc9a 100644
--- a/script/proto/proto.lua
+++ b/script/proto/proto.lua
@@ -231,6 +231,7 @@ end
function m.listen(mode, socketPort)
m.mode = mode
if mode == 'stdio' then
+ log.info('Listen Mode: stdio')
if platform.os == 'windows' then
local windows = require 'bee.windows'
windows.filemode(io.stdin, 'b')
@@ -246,6 +247,10 @@ function m.listen(mode, socketPort)
local server = net.listen('unix', unixPath)
+ log.info('Listen Mode: socket')
+ log.info('Listen Port:', socketPort)
+ log.info('Listen Path:', unixPath)
+
assert(server)
local dummyClient = {