ionic-team / ionic-team/ionic-cli
[beta.12] support passing raw arguments to hooks
Offen
enhancement
- Vorherrschende Sprache
- TypeScript
- Sterne
- 2k
- Forks
- 682
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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)
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.