There is currently a trial for this in Chrome.
To test the File System Observer API locally, set the #file-system-observer flag in about:flags. https://developer.chrome.com/blog/file-system-observer
#file-system-observer
about:flags