Run jekyll site:
jekyll serve
If you have gem files use the below code instead:
bundle exec jekyll serve
| Parameters | Usage |
|---|---|
| -o | open the site in browser |
| -w | watch |
| –port | port, to run multiple sites locally. |
jekyll serve -o -w --port 8000
jekyll serve -o -w --port 4000
This way you can run more than one site.
