Codeanywhere Angular CLI

Angular

Using Codeanywhere and you’re developing in a container provided by them? If you’re developing an Angular application, use the following command to expose your app so you can view the development build:


ng serve --host 0.0.0.0 --port 3000 --disable-host-check

Note the following about CA:

  • CA wants you to publish on port 3000.
  • Angular CLI will require you to disable host check using –disable-host-check

Leave a Reply

Your email address will not be published.

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

%d bloggers like this: