You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The printed watched paths look kind of weird when --source is a relative directory. For example:
foka@debian:~/git/hugo$ hugo server -s docs
0 draft content
0 future content
166 pages created
0 paginator pages created
41 tags created
0 groups created
in 409 ms
Watching for changes in docs/docs/{..}
Serving pages from memory
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
foka@debian:~/git/hugo$ cd docs
foka@debian:~/git/hugo/docs$ hugo server
0 draft content
0 future content
166 pages created
0 paginator pages created
41 tags created
0 groups created
in 425 ms
Watching for changes in /home/foka/git/hugo/docs/{data,content,layouts,static}
Serving pages from memory
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
The text was updated successfully, but these errors were encountered:
especially when the given `--source` path is a relative directory.
Also, when `--source` is specified, make WorkingDir an absolute path
from the very beginning, to be consistent with the case when `--source`
is not given. Otherwise, the function name helpers.AbsPathify(), which
prepends WorkingDir to a relative path, does not really make sense.
Fixesgohugoio#1721
The printed watched paths look kind of weird when
--source
is a relative directory. For example:The text was updated successfully, but these errors were encountered: