Watch node doesn't work when file was modified on NFS volume

I have hosted Node red in Oracle's OCI container instance, where I have mounted FSS volume(NFS V3), the same volume has been mounted on the OCI VM, when we create edit or delete any file in the mounted path from VM, the node red watch node doesn't detect it. Its detecting only when it is create locally in the container. Is this behaviour expected or is it a bug?

It is expected unfortunately. The underlying node.js library used to watch for changes cannot work reliably with network mounts:

If the underlying functionality is not available for some reason, then fs.watch() will not be able to function and may throw an exception. For example, watching files or directories can be unreliable, and in some cases impossible, on network file systems (NFS, SMB, etc) or host file systems when using virtualization software such as Vagrant or Docker.

reference

You could try the 'folder capture' node that's part of the @objectif-lune/files-and-folders package. It has an option to switch between listening for file events, or using polling.