Function registerResourceDependency
Parameters
- mod: NodeModule
The module which will be invalidated when the resource changes. You should use
modulefor this parameter - path: string
The absolute disk path to the resource to watch, or a resource path starting with "mod::"
Returns void
- mod: NodeModule
Register a resource as a dependency for the a module. If the dependency is modified the module will be invalidated (and thus be reloaded when requested again).