Skip to content

adding a way to programatically set the address/port the server starts with #821

Closed
@Pyro979

Description

@Pyro979

Note: for support questions, please use one of these channels: Chat: AngularClass.slack or Twitter: @AngularClass

  • I'm submitting a ...
    [ ] bug report
    [X] feature request
    [ ] question about the decisions made in the repository
  • What is the current behavior?

Server starts at localhost:3000 (as configured in webpack.dev.js)

  • What is the expected behavior?

I'm trying to get this installed on a Vagrant machine, so I need to change the address to 0.0.0.0 (as per
#205)

Additionally I will have a node server running on the same machine and the same default port (3000). So I'd like to be able to change the port as well.

  • What is the motivation / use case for changing the behavior?

I can do this by hand of course, but I'm trying to get a full MEAN with Angular 2 set up via Vagrant, and I'd like to get it as automated as possible, so it can basically be a starter pack for people. I don't really wanna fork this starter since you guys are actively updating it.

  • Please tell us about your environment:

Windows 7
Vagrant 1.8.5
Oracle Virtual Box 5.1.2

Inside the box:
Ubunutu 14.04
Node 6.3.1
NPM 3.10.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions