maven-mvnd icon indicating copy to clipboard operation
maven-mvnd copied to clipboard

MacOS - CTRL + C Will Not Release Port

Open craigmiller160 opened this issue 2 years ago • 1 comments

Been a big fan of MVND for a minute. In the past, I could do mvnd spring-boot:run to start an app, and then do CTRL + C to shut it down no problem. Now, when I do CTRL + C, it just says "The build was cancelled", but it doesn't shut down the underlying process. Instead, I need to manually kill the Java process running on the port to stop it.

I've tried installing via Homebrew and manually (by downloading the zip), experienced the problem both times. I'm using Java 19. I'm on an M1 Pro MacBook Pro. I've tried this on both Monterey (work machine, also M1 Pro) and Ventura (personal M1 Pro). I'm hoping there is a resolution for this. Thanks.

craigmiller160 avatar Nov 04 '22 17:11 craigmiller160

Which port is not released exactly ? mvnd starts reusable daemon processes, so the communication between the client and the server is done through a port. If that's the one you're talking about, that's an expected behaviour.

gnodet avatar Nov 22 '22 06:11 gnodet