1. 5
    Use Jest's Interactive Watch Mode
    3m 17s

Use Jest's Interactive Watch Mode

InstructorKent C. Dodds

Share this video with your friends

Send Tweet

Jest ships with a pretty amazing interactive watch mode which you can initiate with jest --watch. Let's learn about the bits of interactivity and how this can really improve your workflow.

Eric Fields
~ 8 years ago

Can you share how you mapped global jest to your local node_modules/jest/bin/jest.js?

Kent C. Doddsinstructor
~ 8 years ago

Hey Eric, I answered you here: https://github.com/kentcdodds/ama/issues/230

Gar Liu
~ 8 years ago

Adding this to the package.json works for me.

"watch": "jest --watch"

npm run watch