filesync only in one direction
if i cange a file in frontend, the change is directly in vs, if i change a file in vs No changes are accepted.
if its important mounted a nfs storage for the scripts

Please provide debug log from js adapter for the relevant change. And please use most current version of js from latest because we had many fixes in the last versions.
when i save the file form VS nothing is shown in the log, when i save in gui this is shown:
2020-08-16 20:43:08.731 - debug: javascript.0 (19352) sendTo "loadTypings" to system.adapter.admin.0 from system.adapter.javascript.0
2020-08-16 20:43:24.226 - debug: javascript.0 (19352) Update /var/scripts/Licht/Auto_garten.js on disk 2020-08-16 20:43:24.233 - info: javascript.0 (19352) Stop script script.js.Licht.Auto_garten 2020-08-16 20:43:24.234 - debug: javascript.0 (19352) File /var/scripts/Licht/Auto_garten.js change 2020-08-16 20:43:24.245 - info: javascript.0 (19352) Start javascript script.js.Licht.Auto_garten 2020-08-16 20:43:24.250 - debug: javascript.0 (19352) sendTo "send" to system.adapter.telegram.0 from system.adapter.javascript.0 2020-08-16 20:43:24.252 - info: javascript.0 (19352) script.js.Licht.Auto_garten: registered 2 subscriptions and 0 schedules
i'm on the latest. FS is Ubuntu20.xx
How the nfs mount is looking exactly? best show output of "mount" command.
The adapter uses fs.wtch from nodejs.
The Log from above shows that it works in general because this comes from the fs change listener:
2020-08-16 20:43:24.234 - debug: javascript.0 (19352) File /var/scripts/Licht/Auto_garten.js change
From nodejs docs: If the underlying functionality is not available for some reason, then fs.watch() will not be able to function and may thrown 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. :-(
I think it is simply not supported by NFS to forwards file changes as inotofy chnages :-(
Of course we can implement poll, e.g every 10 seconds... But will it work?