From 0a692db73c4955e8fccf9ae0e3b23be474587ff9 Mon Sep 17 00:00:00 2001 From: Douglas Beal Date: Fri, 27 Sep 2019 13:54:07 -0700 Subject: [PATCH] Replace directive missing `replace` keyword --- content/en/hugo-modules/use-modules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/hugo-modules/use-modules.md b/content/en/hugo-modules/use-modules.md index ed467c512..5d6dbc68b 100644 --- a/content/en/hugo-modules/use-modules.md +++ b/content/en/hugo-modules/use-modules.md @@ -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.