Skip to content

Commit

Permalink
fix: 删除多余的打印
Browse files Browse the repository at this point in the history
  • Loading branch information
yuntian001 committed Apr 26, 2024
1 parent b351441 commit b693a46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ function run() {
isCompileSuccess = true;
//有文件改变时触发重启
if(fileChangeList.size){
console.log('onWatchCompileSuccess fileChangeList',fileChangeList.size,'\n\r\n\r');
restart(fileChangeList.size);
isCompileSuccess = false;
fileChangeList.clear();
Expand Down Expand Up @@ -279,6 +278,8 @@ function run() {
process.once('SIGQUIT', onSignal);
// kill(15) default
process.once('SIGTERM', onSignal);

return { restart }
}

exports.run = run;

0 comments on commit b693a46

Please sign in to comment.