1
0
mirror of https://github.com/go-task/task.git synced 2024-12-12 10:45:49 +02:00

docs/Taskfile.yml: Allow to change server port

This commit is contained in:
Andrey Nering 2022-06-11 19:16:11 -03:00
parent 936045e01c
commit b00ae9256b

View File

@ -8,8 +8,10 @@ tasks:
start:
desc: Start website
vars:
PORT: '{{default "3001" .PORT}}'
cmds:
- npx docusaurus start --no-open --port=3001
- npx docusaurus start --no-open --port={{.PORT}}
build:
desc: Build website