1.0.1 • Published 4 years ago

hydrate-me v1.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

Hydrate Me

Get hydrated by appending this to watch commands for reminders set at a custom interval.

The following will be output in your Terminal at each interval:

-----------------------
9:44:39 PM 💦 Hydrate!
-----------------------

Usage

First, install the package:

npm install hydrate-me

The default --interval is 15 minutes, which you may set to another number to represent a different minute interval.

Then, append it to your watch commands, example with a custom interval;

"start": "your-script --watch & hydrate-me --interval 30"

Or if on Windows or another environment that doesn't support &, also install a utility to help the script run in parallel such as npm-run-all:

"start": "npm-run-all --parallel your-script hydrate",
"hydrate": "hydrate-me --interval 30"

Or install globally to use ad-hoc instead of fully committing.