INNER CODE UNIT · TypeScript
onConfigurationChanged
nils-soderman/vscode-unreal-python · src/extension.ts:72
function onConfigurationChanged(event: vscode.ConfigurationChangeEvent) {
// Check if we need to restart the remote execution instance
const restartOnProperties = [
'remote.multicastGroupEndpoint',
'remote.commandEndpoint',
'remote.multicastTTL',
'remote.multicastBindAdress',
'environment.addWorkspaceToPath'
];
for (const property of restartOnProperties) {
if (event.affectsConfiguration(`ue-python.${property}`)) {
remoteHandler.closeRemoteConnection();
break;
}
}
}