From 791416713d64c072d73bffbab2daf7b8eb3c4868 Mon Sep 17 00:00:00 2001 From: Cameron Tacklind Date: Wed, 14 Jul 2021 11:36:26 -0700 Subject: [PATCH] Instructions for seeing background script output PR-URL: https://github.com/npm/cli/pull/3546 Credit: @cinderblock Close: #3546 Reviewed-by: @wraithgar --- docs/content/using-npm/scripts.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/content/using-npm/scripts.md b/docs/content/using-npm/scripts.md index f8e32c2a2b9b..8fd5c5c0dbc9 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`, `post`, 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`