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.
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.
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.
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? :)
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?