Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

concurrently execute command in package.json will delete folder "dist" #35

Closed
Alex-Lin opened this issue Mar 31, 2017 · 2 comments
Closed

Comments

@Alex-Lin
Copy link

Alex-Lin commented Mar 31, 2017

i use "ng serve -pc proxy.conf.json --open" "sleep 10 && tsc -w -p server" currently

has any tricks to guarantee the command execution sequence.

@DavideViolante
Copy link
Owner

The dist folder is automatically deleted by the ng serve command: angular/angular-cli#4293
I hate that too.

@avbentem
Copy link

Just for your information: note that since 1.1.0-rc.0 ng serve supports --delete-output-path=false, which suppresses deletion of dist (or whatever folder is configured in .angular-cli.json, or on the command line using ng serve --output-path=...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants