I want to keep watching a folder (Folder Name Js) that contains some .js and other extension files also. Now i want to perform an action whenever .js file changed / update
TBH, i didn't tried anything. Although i can watch directory with fs.stat() and keep watching whenever the bytes change. But i only want to perform when .js files changed.