Use Ctrl+C. Its the standard way to signal a running command-line tool to exit and I don't think trunk serve understands anything else.
0
Nae
On
To kill from another terminal:
kill -9 $(pgrep trunk)
0
Ili
On
If ctrl+c doesn't work (for some unknown reason the terminal was stuck and it didn't work for me), you can list the process running on port 8080 (or whatever port you are using to run the server)
Use Ctrl+C. Its the standard way to signal a running command-line tool to exit and I don't think
trunk serve
understands anything else.