You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like it uses .watchFile() internally for all files and directories, monitoring new files if they're added. In addition, it also is monitoring .mtime on the file so it won't fire the changed event on simple accesses/reads (which .watchFile() will).
Creating a new file in a watched directory necessitates restarting the server so that the new file is watched.
It would be nice if new files were detected and registered with fs.watchFile automatically.
@nicjansma any thoughts on this? I'll try to see if there's an easy solution later today.
The text was updated successfully, but these errors were encountered: