In the scaffold generated project using yo angular fullstack I normally launch the app with grunt using grunt (I am not an expert on it).
Example
grunt
grunt serve
and so on.
As far as I know I have three different environments (Development, Test, Production). Every time I need to change I have to go to the main file changing the correct line (default is Development).
How can choose one of them from terminal? I am completely sure there has to be way to do that from grunt...
I can imagine it has to be something like
grunt serve --env:prod
grunt serve --test
grunt serve development
I have tried all of them but nothing, I have been spending some time trying to figure it out this from the Gruntfile but I cannot find neither googling.
Does anyone know how to do that? Any help would be appreciated