wait-on is a cross-platform command line utility and Node.js API which will wait for files, ports, sockets, and http(s) resources to become available
Why do you think that https://github.com/mmazzarolo/create-react-app-electron-boilerplate is a good alternative to wait-on