Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCameron Tacklind <cameron@tacklind.com>2021-07-14 21:36:26 +0300
committerRuy Adorno <ruyadorno@hotmail.com>2021-07-15 20:59:06 +0300
commit791416713d64c072d73bffbab2daf7b8eb3c4868 (patch)
tree8e42413ebf16f41c6e7d6995468782d966a4b173 /docs
parentc11aa536ba4808dc36ab1378ef8dfc7d9553cd26 (diff)
Instructions for seeing background script output
PR-URL: https://github.com/npm/cli/pull/3546 Credit: @cinderblock Close: #3546 Reviewed-by: @wraithgar
Diffstat (limited to 'docs')
-rw-r--r--docs/content/using-npm/scripts.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/content/using-npm/scripts.md b/docs/content/using-npm/scripts.md
index f8e32c2a2..8fd5c5c0d 100644
--- a/docs/content/using-npm/scripts.md
+++ b/docs/content/using-npm/scripts.md
@@ -54,7 +54,8 @@ situations. These scripts happen in addition to the `pre<event>`, `post<event>`,
the prepare script will be run, before the package is packaged and
installed.
-* As of `npm@7` these scripts run in the background
+* As of `npm@7` these scripts run in the background.
+ To see the output, run with: `--foreground-scripts`.
**prepublish** (DEPRECATED)
* Does not run during `npm publish`, but does run during `npm ci`