ionic-team / ionic-team/ionic-cli
[beta.12] support passing raw arguments to hooks
Aperta
enhancement
- Lingua principale
- TypeScript
- Stelle
- 2k
- Fork
- 682
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
When running hooks I would like to pass an argument.
For example, the `app-scripts` package can log debug information when passing the `--debug` argument.
`ionic serve --debug` does not work since the `watch` npm script of `app-scripts` is a hook and not the task itself, hooks don't get params passed to them so I can't run it in debug mode.
See [this code](https://github.com/driftyco/ionic-cli/blob/master/lib/cli.js#L297)
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.