summaryrefslogtreecommitdiff
path: root/deps/npm/doc/api/rebuild.md
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/doc/api/rebuild.md')
-rw-r--r--deps/npm/doc/api/rebuild.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/deps/npm/doc/api/rebuild.md b/deps/npm/doc/api/rebuild.md
new file mode 100644
index 0000000000..8b8989806a
--- /dev/null
+++ b/deps/npm/doc/api/rebuild.md
@@ -0,0 +1,16 @@
+npm-rebuild(3) -- Rebuild a package
+===================================
+
+## SYNOPSIS
+
+ npm.commands.rebuild([packages,] callback)
+
+## DESCRIPTION
+
+This command runs the `npm build` command on each of the matched packages. This is useful
+when you install a new version of node, and must recompile all your C++ addons with
+the new binary. If no 'packages' parameter is specify, every package will be rebuilt.
+
+## CONFIGURATION
+
+See `npm help build`