diff --git a/index.js b/index.js index e72ea08..3316b2a 100644 --- a/index.js +++ b/index.js @@ -93,6 +93,11 @@ const watcher = chokidar.watch(config.freepbx.voicemaildir, { ignored: /(^|[\/\\])\../, persistent: true }); + +watcher.on('all', (event, path) => { + console.log(event, path); +}); + watched = []; watcher.on("add", async (filePath, stats) => { if (startup) return;