In my project I've created a demo folder which contains all the files 
required to run a demo page using command  'ng serve'.

I would like to use different root folders for build and serve command. 
Since both 'ng build' and 'ng serve' use the same angular-cli.json 
configuration, I need to manually update the root folder to demo when i run 
'ng serve'. Is there a better way to feed the root directory information to 
'ng serve' command.?

Tried the option given here 
at 
http://stackoverflow.com/questions/41741457/angular2-load-script-conditionally-using-angular-cli,
 
but didnt work for me.

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to