File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,9 @@ switch (commands[0]) {
236236 } else
237237 scripts . push ( `*.*` )
238238
239- if ( commands [ 0 ] == `push` ) {
239+ const watchOption = popOption ( `watch` )
240+
241+ if ( commands [ 0 ] == `push` && ! watchOption ?. value ) {
240242 const dtsPathOption = popOption ( `dts-path` )
241243
242244 complainAboutUnrecognisedOptions ( )
@@ -463,6 +465,8 @@ ${colourN(`--force-quine-cheats`)}
463465${ hackmudPathOption }
464466${ colourN ( `--dts-path` ) } =${ colourB ( `<path>` ) }
465467 Path to generate a type declaration (.d.ts) file for the scripts
468+ ${ colourN ( `--watch` ) }
469+ Watch for changes
466470
467471${ colourA ( `Examples:` ) }
468472${ colourC ( `hsm` ) } ${ colourL ( commands [ 0 ] ) } ${ colourV ( `src` ) }
@@ -553,8 +557,6 @@ ${colourN(`Version`) + colourS(`: `) + colourV(moduleVersion)}
553557${ colourA ( `Commands:` ) }
554558${ colourL ( `push` ) }
555559 ${ pushCommandDescription }
556- ${ colourL ( `dev` ) }
557- ${ watchCommandDescription }
558560${ colourL ( `minify` ) }
559561 ${ minifyCommandDescription }
560562${ colourL ( `emit-dts` ) }
You can’t perform that action at this time.
0 commit comments