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

Use Jest's Interactive Watch Mode

Kent C. Dodds
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
Eric Fields
~ 4 years ago

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

Kent C. Dodds
Kent C. Doddsinstructor
~ 4 years ago

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

Gar Liu
Gar Liu
~ 4 years ago

Adding this to the package.json works for me.

"watch": "jest --watch"

npm run watch