Wait for a URL to return 2XX, show an OS notification, and exit.
I got tired of repeatedly refreshing my localhost pages in the browser to see if docker environment had finished (re)starting...
- Install:
npm i -g is-it-online - Use:
is-it-online http://localhost:8080
Native binary's based on pkg are a work in progress.
I could use electron, but I'd like to find a better option - one which doesn't result in a 100 MB binary.
Local development is typical for a node application:
npm installnpm develop
To install your local working copy:
npm packnpm i -g is-it-online-X.X.X.tgz