Skip to content

ng serve no longer has --preserve-symlinks #10896

@zmbq

Description

@zmbq

I've created a new Angular 6 app with Angular CLI. I'm using a symlinked directory in Windows, so to compile I must use ng build --preserve-symlinks . This is all fine.

However, ng serve no longer has a --preserve-symlinks option, so it fails rather miserably (pretty mush like ng build fails without the switch. This makes version 6 of @angular/cli quite unusable to us.

Versions

Angular CLI: 6.0.3
Node: 8.11.2
OS: win32 x64
Angular: 6.0.2
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.3
@angular-devkit/build-angular     0.6.3
@angular-devkit/build-optimizer   0.6.3
@angular-devkit/core              0.6.3
@angular-devkit/schematics        0.6.3
@angular/cli                      6.0.3
@ngtools/webpack                  6.0.3
@schematics/angular               0.6.3
@schematics/update                0.6.3
rxjs                              6.1.0
typescript                        2.7.2
webpack                           4.8.3

Repro steps

ng serve --preserve-symlinks

Observed behavior

Unknown option: '--preserveSymlinks'

Desired behavior

It should work, like it did in previous versions.

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