ionic-team / ionic-team/ionic-cli
[beta.12] support passing raw arguments to hooks
Abierto
enhancement
- Lenguaje dominante
- TypeScript
- Estrellas
- 2k
- Forks
- 682
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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)
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.