Clarify remote require of relative modules
authorBret Comnes <bcomnes@gmail.com>
Mon, 13 Mar 2017 22:42:26 +0000 (15:42 -0700)
committerGitHub <noreply@github.com>
Mon, 13 Mar 2017 22:42:26 +0000 (15:42 -0700)
commit46af3cefec37e13fa03d4b52c155fcb555dcbf40
tree83c1509ab6d76125243350d8093c0dd991c21aa7
parent48152a813ba12c9bdbdcfaefaf578f490836dfa3
Clarify remote require of relative modules

The docs for the `remote.require(module)` method were a little too terse for me to understand the behavior of relative module loading for `remote.require` and I had to run an experiment to understand the behavior (e.g. is the relative path relative to caller of `remote.require` or relative to some other path in the project related to the main process?).   I think this is correct but someone please double check my understanding.

Adding an example and additional explanation should help clarify this.  Feel free to edit the copy as needed.
docs/api/remote.md