Skip to content

Commit

Permalink
Removed some logs from socket
Browse files Browse the repository at this point in the history
  • Loading branch information
MertJSX committed Sep 3, 2024
1 parent 1682dc3 commit 1088e90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions socketEvents.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = function (io, config) {

socket.join(socket.id);

console.log('User connected!'.green);
// console.log('User connected!'.green);

const currentWatchPath = socket.handshake.auth.watch;
const watchFile = `${config.folder}${currentWatchPath}`;
Expand All @@ -41,7 +41,7 @@ module.exports = function (io, config) {
}

socket.on('disconnect', () => {
console.log('User disconnected!'.red);
// console.log('User disconnected!'.red);
const watcher = watchers.get(socket.id);
if (watcher) {
watcher.close();
Expand Down

0 comments on commit 1088e90

Please sign in to comment.