- Navigate to a repo where you have your Jekyll static site (maybe your GitHub pages site)
- Launch Codespaces (Code button -> Cloud -> New codespace on current branch)
- Once it's launched, run the following in the terminal
gem install bundler jekyll
bundle update
bundle exec jekyll serve
That's it - you will get a new tab to view the rendered work as you edit. So easy!
thanks - and same for me re 3.1.3 - it did not work but 3.0.5 was fine. I then add this tasks.json to the .vscode folder to automate it so I can delete the codespace and recreate it quickly: