Skip to content

Commit

Permalink
Remove mention of reload from the docs; fix #28572 (#28644)
Browse files Browse the repository at this point in the history
* Remove mention of `reload` from the docs

(cherry picked from commit 6458059)
  • Loading branch information
mkborregaard authored and KristofferC committed Feb 11, 2019
1 parent 4356e1f commit 80d6308
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions doc/src/manual/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,13 +232,10 @@ For file dependencies, a change is determined by examining whether the modificat
of each file loaded by `include` or added explicitly by `include_dependency` is unchanged, or equal
to the modification time truncated to the nearest second (to accommodate systems that can't copy
mtime with sub-second accuracy). It also takes into account whether the path to the file chosen
by the search logic in `require` matches the path that had created the precompile file.

It also takes into account the set of dependencies already loaded into the current process and
won't recompile those modules, even if their files change or disappear, in order to avoid creating
incompatibilities between the running system and the precompile cache. If you want to have changes
to the source reflected in the running system, you should call `reload("Module")` on the module
you changed, and any module that depended on it in which you want to see the change reflected.
by the search logic in `require` matches the path that had created the precompile file. It also takes
into account the set of dependencies already loaded into the current process and won't recompile those
modules, even if their files change or disappear, in order to avoid creating incompatibilities between
the running system and the precompile cache.

If you know that a module is *not* safe to precompile your module
(for example, for one of the reasons described below), you should
Expand Down

0 comments on commit 80d6308

Please sign in to comment.