CLI command to stop server not working.
Using version: @percy/cli 1.0.0-beta.76
I works fine to start the server with "npx percy exec:start" and send snapshots. However, I cannot stop the server. I've been trying: "npx percy exec:stop", but it just hangs, no response and the server keeps running. I have to use "Control+C" to terminate the process!
I do not want to use "npx percy exec:start --" since it does not suite my needs. I need to be able to start & stop the server seperate from starting test execution.
Running on Windows 10 in Command Prompt.
Also tried: http://localhost:5338/percy/stop and get success: true, but server does not stop.
Thankful for any investigation/help regarding this...
Hey @jensakejohansson! Looks like I'm able to reproduce this as well. Will start working on a fix for this shortly. Have you tried downgrading @percy/cli yet to see which version introduced this change?
In the meantime, I was able to stop the process myself with pkill -f percy
@samarsault I think solving this issue, might fix some of our CI flakiness for windows as well.
any updates on this?