Skip to content
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

Option for graceful stop of server #17

Open
motz0815 opened this issue Mar 14, 2022 · 3 comments
Open

Option for graceful stop of server #17

motz0815 opened this issue Mar 14, 2022 · 3 comments

Comments

@motz0815
Copy link

It would be really useful to be able to just run the runServer task again inside of IntelliJ, and that the server then closes gracefully, like if you Ctrl-C inside of the console. This can be done by sending a SIGINT to the JVM, so it has to be possible somehow.

Maybe also a "config" option for people that (don't) need this functionality. Though the maintainer would have to decide what's the default, I'd be happy with both.

@jpenilla
Copy link
Owner

I don't think this is feasible without an intellij plugin

@DenWav
Copy link
Collaborator

DenWav commented Jun 28, 2023

Doesn't IntelliJ default to "stop and re-run" when you click run while it's already running?

@Leguan16
Copy link

Leguan16 commented Sep 6, 2023

Yeah but it stops with an error and doesn't properly shut down the server so you will never execute onDisable with the plugin (unless you manually type stop in the console)
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants