I
I
Ivan Stroykin2017-09-22 15:18:00
Angular
Ivan Stroykin, 2017-09-22 15:18:00

Is it possible to prescribe in the angular-cli config that ng serve and others are executed by default with additional flags?

Good day,
is it possible to prescribe in the angular-cli config that when you start: ng serve, ng build, ng build --prod they all start with certain flags? To keep writing with your hands. Most concerned with ng serve as the other 2 are done by scripts

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
emp1re, 2017-09-22
@StivinKing

in package.json you can and should
t / e -
npm run / test / start etc.
Do whatever you want, it was made especially for you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question