Every time while building this site offline, i have to execute this commands, for starting jekyll server
bundle exec jekyll serve --incremental
this commant has to execute.
To simplify this process here, “Batch file” programming is used.
- Type following in in text editor
start http://localhost:4000 bundle exec jekyll serve --incremental
Save this file as
To test markdown file and starting server, click on “deploy.bat”. localhost:4000 will be open in browser and live file compilation started.
- Keep the command promt open, while it’s serving localhost.