# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
tasks:
  - name: Install Hugo dependencies
    before: brew install hugo && npm install
    init: echo "Your version of Hugo is `hugo version`"
    command: hugo server -D
# List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/
ports:
  - port: 1313
    onOpen: open-preview
# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
tasks:
  - name: Install Hugo dependencies
    before: brew install hugo && npm install
    init: echo "Your version of Hugo is `hugo version`"
    command: hugo server -D --baseUrl $(gp url 1313) --appendPort=false
# List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/
ports:
  - port: 1313
    onOpen: open-preview
Fix hugo server command to work on Gitpod.
Fix hugo server command to work on Gitpod.
