JavaScript
Latest commit bebde83 Feb 5, 2018
Permalink
Failed to load latest commit information.
src Replace return with throw Feb 5, 2018
.babelrc Init commit Jan 31, 2018
.flowconfig Init commit Jan 31, 2018
.gitignore Init commit Jan 31, 2018
.nvmrc Init commit Jan 31, 2018
.prettierrc Init commit Jan 31, 2018
.travis.yml Init commit Jan 31, 2018
LICENSE Init commit Jan 31, 2018
README.md Add links to Flow Jan 31, 2018
cli.js Init commit Jan 31, 2018
index.js Make it glow (#1) Jan 31, 2018
logo.jpg Init commit Jan 31, 2018
package.json 1.2.2 Feb 5, 2018
test.js Use regex instead of snapshot test Feb 1, 2018
video.jpg Init commit Jan 31, 2018
yarn.lock Fix util.promisify in older node versions Feb 1, 2018

README.md

Glow logo

Glow

Make your Flow errors GLOW

  • Pretty-printed, code highlighted type errors
  • Interactive watch mode
  • Filter through errors using globs

Installation

# globally
yarn global add glow
# or in your project
yarn add --dev glow
Preview

Usage

In your existing Flow project, instead of running:

flow

Simply run:

glow

You can also filter errors down to a specific set of files by running:

glow path/to/whatever

There's even an awesome watch mode:

glow --watch