How to set options to ng (Angular) in IntelliJ Run Configuration?

  angular, intellij-idea

I have a IntelliJ Run Configuration to start up my Angular App. Command is set to "run" and Scripts to "start", when starting it, it will start "ng serve". What do Command and Script mean? And how can I pass an option to ng? I want to start it on a differnt port, like "ng serve –port 4201".

Source: Angular Questions

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.