Browse Source

添加打印日志

master
SisMaker 4 years ago
parent
commit
ec54ef1c75
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/sync/esSyncSrv.erl

+ 1
- 0
src/sync/esSyncSrv.erl View File

@ -194,6 +194,7 @@ handleInfo({inet_async, LSock, _Ref, Msg}, _, #state{sockMod = SockMod} = State)
DelStr = string:join([filename:nativename(OneDir) || OneDir <- DelSrcDirs], "|"),
AllStr = string:join([AddStr, OnlyStr, DelStr], "\r\n"),
gen_tcp:send(Sock, AllStr),
esUtils:logSuccess("erlSync connect fileSync success..."),
case ?esCfgSync:getv(?compileCmd) of
undefined ->
%% src文件

Loading…
Cancel
Save