Remove unnecessary console logs
This commit is contained in:
@@ -30,12 +30,6 @@ try {
|
||||
|
||||
const options = configFileObject.options;
|
||||
|
||||
console.log("firstFolder", firstFolder);
|
||||
console.log("folders", folders);
|
||||
|
||||
console.log("firstFolder", firstFolder);
|
||||
console.log("isFolders", Boolean(folders?.[0]));
|
||||
|
||||
if (firstFile && files?.[0]) {
|
||||
watchFiles({ files, options });
|
||||
} else if (firstFolder && folders?.[0]) {
|
||||
|
||||
@@ -24,8 +24,6 @@ async function watchFolders({ folders, options }) {
|
||||
}
|
||||
|
||||
const dirPath = typeof dir == "string" ? dir : dir.path;
|
||||
console.log(`Handling dir ${dirPath}`);
|
||||
|
||||
if (
|
||||
(typeof dir == "string" && !fs.existsSync(dirPath)) ||
|
||||
(typeof dir == "object" &&
|
||||
@@ -78,8 +76,6 @@ async function watchFolders({ folders, options }) {
|
||||
}
|
||||
}
|
||||
|
||||
console.log(`Watching dir ${dirPath}`);
|
||||
|
||||
if (typeof dir == "string") {
|
||||
sync({ dirPath, dirs, options });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user