Instead of opening twitter/reddit, rest your eyes!
Your screen will become bright again when the command finishes.
npm install -g rest-your-eyes
Expects node >= 4.6.2
Run your commands prefixed with rest
.
Example
rest npm install
rest npm test
rest gulp build
Or add it to package.json
:
"scripts": {
"test": "rest ava",
"build": "rest babel src -d lib"
}
Kudos to Kevin Mårtensson for brightness ☀️