-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: restartApplication command #293
Conversation
val selectedDescriptor = contentManager.selectedContent | ||
if (selectedDescriptor != null) { | ||
LOG.debug("Restarting ${project.name}") | ||
ExecutionUtil.restart(selectedDescriptor) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this actually restart?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It restarts run profile used in current execution environment. Execution environment is found (somehow) from current data context.
Basically it is used in run toolbar while clicking run/restart button.
I might improve it by adding check if our hotswap executor has been used with this project run, currently it will restart anything what is running.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure it is needed as long as Copilot uses it from a "Restart now" button or similar
Artifact build on last commit: distributions.zip. |
Fixes: #284