Is it possible to serve multiple Jekyll sites locally?

前端 未结 6 1514
旧时难觅i
旧时难觅i 2021-02-18 13:01

Every time I serve a Jekyll site from the command line it is served on port 4000. Two sites can\'t be served on the same port.

Is it possible to serve multiple Jekyll si

6条回答
  •  花落未央
    2021-02-18 13:27

    For multiple Jekyll sites, I just run this

    bundle exec jekyll serve --port

    e.g

    bundle exec jekyll serve --port 4001

提交回复
热议问题