Fix handling of aliases (e.g. hugo serve)

Fixes #11090
This commit is contained in:
Bjørn Erik Pedersen 2023-06-13 10:47:51 +02:00 committed by GitHub
parent 258884f44f
commit 0541a1b57d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View file

@ -1,7 +1,8 @@
# Test the hugo server command.
# We run these tests in parallel so let Hugo decide which port to use.
hugo server &
# Deliberately using the alias 'serve' here.
hugo serve &
waitServer