Skip to content

Commit 2576fda

Browse files
committed
fixes webpack#438
1 parent a912045 commit 2576fda

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎bin/convert-argv.js‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@ module.exports = function(optimist, argv, convertOptions) {
5252
options.context = process.cwd();
5353
}
5454

55+
if(argv["watch"]) {
56+
options.watch = true;
57+
}
58+
59+
if(argv["watch-delay"]) {
60+
options.watchDelay = +argv["watch-delay"];
61+
}
62+
5563
function processOptions(options) {
5664
function ifArg(name, fn, init, finalize) {
5765
if(Array.isArray(argv[name])) {

0 commit comments

Comments
 (0)