From c894e10c321b50532d119462ebc6f5e56becec81 Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Fri, 19 May 2017 11:56:11 +0100 Subject: [PATCH] docs(@angular/cli): document output dir deletion Address concerns in #4366, #6375. --- docs/documentation/build.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/documentation/build.md b/docs/documentation/build.md index cc5c84554730..a04e8397cfd8 100644 --- a/docs/documentation/build.md +++ b/docs/documentation/build.md @@ -13,6 +13,10 @@ ng build The build artifacts will be stored in the `dist/` directory. +All commands that build or serve your project, `ng build/serve/e2e`, will delete the output +directory (`dist/` by default). +This can be disabled via the `--no-delete-output-path` (or `--delete-output-path=false`) flag. + ### Build Targets and Environment Files `ng build` can specify both a build target (`--target=production` or `--target=development`) and an