wait-on

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

is-wsl

Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)