Skip to content

Multiple apps always compile all apps #6677

@miguelramos

Description

@miguelramos

Bug Report or Feature Request (mark with an x)

- [ x] bug report -> please search issues before submitting
- [ ] feature request

Versions.

@angular/cli: 1.1.1
node: 7.7.4
os: darwin x64
@angular/animations: 4.2.2
@angular/common: 4.2.2
@angular/compiler: 4.2.2
@angular/core: 4.2.2
@angular/forms: 4.2.2
@angular/http: 4.2.2
@angular/platform-browser: 4.2.2
@angular/platform-browser-dynamic: 4.2.2
@angular/router: 4.2.2
@angular/cli: 1.1.1
@angular/compiler-cli: 4.2.2
@angular/language-service: 4.2.2

Repro steps.

After install globally new ng and start a project just made a kick start for multiple app. Get the current project and double it on two projects. Different names on angular-cli to split compilation but cli always compile the two projects.

Current structure:

image

Current angular-cli config:

image

Main-a.ts:

image

Main-b.ts

image

The log given by the failure.

Here you can see the verbose output from compilation that it complies app-a and app-b when the command has the parameter to compile only app-a.

image

Desired functionality.

Compilation only for the app assigned on the argument.

Mention any other details that might be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentseverity3: broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions