From 047a229aac49eb010b81b0322c20f4711c1a4ce4 Mon Sep 17 00:00:00 2001 From: Cameron Tacklind Date: Wed, 14 Jul 2021 11:36:26 -0700 Subject: [PATCH 1/2] Instructions for seeing background script output --- 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 8df9660ca8f4c..d5770d97bdb5d 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 run see the output, run with: `--foreground-scripts`. **prepublish** (DEPRECATED) * Does not run during `npm publish`, but does run during `npm ci` From 1b332c0b8496a41d37a087663b1b316c48511a26 Mon Sep 17 00:00:00 2001 From: Cameron Tacklind Date: Wed, 14 Jul 2021 11:41:37 -0700 Subject: [PATCH 2/2] Fix bad wording --- docs/content/using-npm/scripts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/using-npm/scripts.md b/docs/content/using-npm/scripts.md index d5770d97bdb5d..f697247ab7138 100644 --- a/docs/content/using-npm/scripts.md +++ b/docs/content/using-npm/scripts.md @@ -55,7 +55,7 @@ situations. These scripts happen in addition to the `pre`, `post`, installed. * As of `npm@7` these scripts run in the background. - To run see the output, run with: `--foreground-scripts`. + To see the output, run with: `--foreground-scripts`. **prepublish** (DEPRECATED) * Does not run during `npm publish`, but does run during `npm ci`