diff --git a/command/start.js b/command/start.js index 42631b1..965e8c6 100644 --- a/command/start.js +++ b/command/start.js @@ -76,6 +76,9 @@ async function supportDeviceIpOption(data, option) { if (optionDeviceIp) { data.deviceIp = optionDeviceIp; + logger.log( + chalk.cyanBright(`WITs tries connecting with ${optionDeviceIp}\n`) + ); await userInfoHelper.updateLatestUserAnswer({ deviceIp: optionDeviceIp }); diff --git a/command/watch.js b/command/watch.js index 657dd49..141bb6c 100644 --- a/command/watch.js +++ b/command/watch.js @@ -59,6 +59,9 @@ async function supportDeviceIpOption(data, option) { if (optionDeviceIp) { data.deviceIp = optionDeviceIp; + logger.log( + chalk.cyanBright(`WITs tries connecting with ${optionDeviceIp}\n`) + ); await userInfoHelper.updateLatestUserAnswer({ deviceIp: optionDeviceIp });