react-native-static-server icon indicating copy to clipboard operation
react-native-static-server copied to clipboard

1004 error. How to track if server stopped?

Open kesha-antonov opened this issue 5 years ago • 3 comments

kesha-antonov avatar Nov 09 '18 09:11 kesha-antonov

There's server.isRunning method.

StanislavMayorov avatar Jul 27 '19 12:07 StanislavMayorov

There's server.isRunning method.

Yeah, I added it 😅 https://github.com/futurepress/react-native-static-server/pull/59 I mean any event listeners?

kesha-antonov avatar Jul 27 '19 15:07 kesha-antonov

@kesha-antonov Long time ago, but did you find a way to listen to the server state?

sanderwapstra avatar Mar 15 '22 07:03 sanderwapstra