Is It Online?
Wait for a URL to return 2XX, show an OS notification, and exit.
Motivation
I got tired of repeatedly refreshing my localhost
pages in the browser to see if docker
environment had finished (re)starting...
Usage
- Install:
npm i -g is-it-online
- Use:
is-it-online http://localhost:8080
Native Binary
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.
Contributing
Development
Local Development
Local development is typical for a node
application:
npm install
npm develop
Local Installation
To install your local working copy:
npm pack
npm i -g is-it-online-X.X.X.tgz
Credits