mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 13:24:45 -04:00
Replace directive missing replace
keyword
This commit is contained in:
parent
b0db64a032
commit
0a692db73c
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user