chore: remove console log

This commit is contained in:
chenos 2024-12-12 11:17:13 +08:00
parent 27b326d9ba
commit 3ad8704153
2 changed files with 0 additions and 6 deletions

View File

@ -89,16 +89,13 @@ module.exports = (cli) => {
watcher
.on('ready', () => {
console.log('Initial scan complete.');
isReady = true;
})
.on('addDir', async (pathname) => {
console.log('addDir....', isReady);
if (!isReady) return;
restartClient();
})
.on('unlinkDir', async (pathname) => {
console.log('unlinkDir....', isReady);
if (!isReady) return;
restartClient();
});

View File

@ -58,16 +58,13 @@ module.exports = (cli) => {
watcher
.on('ready', () => {
console.log('Initial scan complete.');
isReady = true;
})
.on('addDir', async (pathname) => {
console.log('addDir....', isReady);
if (!isReady) return;
restart();
})
.on('unlinkDir', async (pathname) => {
console.log('unlinkDir....', isReady);
if (!isReady) return;
restart();
});