Replace directive missing replace keyword

This commit is contained in:
Douglas Beal authored and Bjørn Erik Pedersen committed 2019-09-27 22:57:23 +02:00
1 parent b0db64a032
commit 0a692db73c
1 file changed
+1 -1
+1 -1
View File
@@ -64,7 +64,7 @@ Also see the [CLI Doc](/commands/hugo_mod_get/).
One way to do local development of a module imported in a project is to add a replace directive to a local directory with the source in `go.mod`:
```bash
github.com/bep/hugotestmods/mypartials => /Users/bep/hugotestmods/mypartials
replace github.com/bep/hugotestmods/mypartials => /Users/bep/hugotestmods/mypartials
```
If you have the `hugo server` running, the configuration will be reloaded and `/Users/bep/hugotestmods/mypartials` put on the watch list.