Skip to content

Conversation

cretueusebiu
Copy link

Adds --watch to run webpack in watch mode.

})
]
],
watch: options.watch
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to set this?

var compiler = webpack(webpackConfig)

if (options.watch) {
compiler.watch({
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should replace the compiler.run below with this

@egoist
Copy link
Collaborator

egoist commented Feb 1, 2017

Thanks for the PR but I decided to make a new one at #322 due to no response and there're many more changes needed than I expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants