GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: native module reloading is not supported · nodejs/node@df5ce6f

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • globals.markdown
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/globals.markdown‎

Copy file name to clipboardExpand all lines: doc/api/globals.markdown
+4-1Lines changed: 4 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,9 @@ global but rather local to each module.
145145
* {Object}
146146

147147
Modules are cached in this object when they are required. By deleting a key
148-
value from this object, the next `require` will reload the module.
148+
value from this object, the next `require` will reload the module. Note that
149+
this does not apply to [native addons][], for which reloading will result in an
150+
Error.
149151

150152
### require.extensions
151153

@@ -199,6 +201,7 @@ but rather than loading the module, just return the resolved filename.
199201
[buffer section]: buffer.html
200202
[module system documentation]: modules.html
201203
[Modules]: modules.html#modules_modules
204+
[native addons]: addons.html
202205
[timers]: timers.html
203206
[`clearImmediate`]: timers.html#timers_clearimmediate_immediateobject
204207
[`clearInterval`]: timers.html#timers_clearinterval_intervalobject

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.