Currently the following code is missing from https://github.com/ioBroker/dev-server/blob/main/src/commands/WatchRemote.ts
if (!this.isJSController()) {
this.socketEvents.on('objectChange', (args: any) => {
if (Array.isArray(args) && args.length > 1 && args[0] === `system.adapter.${this.adapterName}.0`) {
this.log.notice('Adapter configuration changed, restarting nodemon...');
nodemon.restart();
}
});
}
The solution is not straight forward as we need to either send input rs to the remote nodemon or signal the process with SIGUSR2.