Skip to content

Allow user to specify angular-cli.json file to be used #4495

Closed
@tdawgy

Description

@tdawgy

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Windows 10

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:
node: v6.9.4
npm: 3.10.10
angular-cli: 1.0.0-beta.26

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.
This feature isn't currently available.

The log given by the failure.

Normally this include a stack trace and some more information.
Since multiple apps in a single angular-cli.json file are not currently supported. A simple workaround could be to specify the angular-cli.json configuration file that's being used. This could allow us to have a separate angular-cli.json file for each project and then specify which one we want used.

ng serve --config angular-cli.json.app1
ng serve --config angular-cli.json.app2

ng build --config angular-cli.json.app1
ng build --config angular-cli.json.app2

Mention any other details that might be useful.


Thanks! We'll be in touch soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions