github

thejameskyle / glow

  • четверг, 1 февраля 2018 г. в 03:16:14
https://github.com/thejameskyle/glow


Make your Flow errors GLOW



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