1. 11
    Update your Bundle with each File Save with webpack's watch Mode
    1m 44s

Update your Bundle with each File Save with webpack's watch Mode

InstructorAndy Van Slaars

Share this video with your friends

Send Tweet

It's inconvenient during development to have to run a script each time we make a change to our source. We can have webpack generate an updated bundle as we make changes. In this lesson, we'll create an npm script to run webpack in watch mode and see it in action as we modify some source files.

KOKI + without Kamil
~ 6 years ago

Not sure why the course videos are not in order. Webpack's watch mode is added in 11, but already used in 10. Adding GitHub remote is in 4, but already mentioned in 3.

Andy Van Slaarsinstructor
~ 6 years ago

Not sure why the course videos are not in order. Webpack's watch mode is added in 11, but already used in 10. Adding GitHub remote is in 4, but already mentioned in 3.

Sorry, there are a couple issues with video order. We're working on getting it straightened out as soon as possible.

Juliana Demarque
~ 6 years ago

I've followed each video to the letter but watch mode exists instantly after first run. I've found a solution that adds node_modules directory to watchOptions.ignored value in webpack development config. Could you comment on that? :)

Andy Van Slaarsinstructor
~ 6 years ago

I've followed each video to the letter but watch mode exists instantly after first run. I've found a solution that adds node_modules directory to watchOptions.ignored value in webpack development config. Could you comment on that? :)

Juliana,

I'm not sure what's happening there. Is it exiting cleanly or with an error?