I can't find a way to watch a folder for added/deleted files. I can achieve this by watching the whole content of the folder using:
let watcher = new Gaze('**/*');
But it then watches all the files inside the folder which I don't want. Surely, since Gaze is able to detect added/deleted files when using that syntax, it is able to detect added/deleted files without watching the whole content of the folder.
I can't find a way to watch a folder for added/deleted files. I can achieve this by watching the whole content of the folder using:
But it then watches all the files inside the folder which I don't want. Surely, since Gaze is able to detect added/deleted files when using that syntax, it is able to detect added/deleted files without watching the whole content of the folder.