Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(commander options): -w —watch not work #70

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions bin/index
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ program
)
.option('--error <type>', 'Whether to throw error.')
.option('--empty <type>', 'Empty directory or not.')
.option('-f --fromId <type>', 'Scene value.')
.option('-f, --fromId <type>', 'Scene value.')
.option('--platform <type>', 'The platform of alipay miniprogram.')
.option('-p --isReport <type>', 'Report or not.')
.option('-w --watch <type>', 'Watch code changes')
.option('-d --ignoreNpm <type>', 'ignore npm detection')
.option('-u --useRuntimeLog <type>', 'open runtime log')
.option('-l --libraryName <type>', 'custom npm name')
.option('-p, --isReport <type>', 'Report or not.')
.option('-w, --watch', 'Watch code changes')
.option('-d, --ignoreNpm <type>', 'ignore npm detection')
.option('-u, --useRuntimeLog <type>', 'open runtime log')
.option('-l, --libraryName <type>', 'custom npm name')
.option('--useCompileLog <type>', 'open compile log')

program.parse(process.argv)
Expand Down