Let Jekyll --watch

Jekyll has a built-in auto-regeneration feature that watches your source folder for changes and then re-builds your site. Starting with Jekyll v2.4.0, the jekyll serve command has this enabled by default and you can use run jekyll build --watch to manually enable it there.

Install the wdm Gem

On Windows, you need to install one extra tool, or rather Gem, to enable this functionality. Simply run the following command from the command line.

gem install wdm

Require wdm in your Gemfile

Alternatively, if you use a Gemfile, you can check if Jekyll runs on Windows and only then install the wdm Gem.

gem 'wdm', '~> 0.1.0' if Gem.win_platform?

Install working version of listen Gem

Jekyll uses the listen Gem as a dependency for auto-regeneration. Some versions of listen do not work on Windows. jekyll/jekyll-help#64 has some information on versions that worked on Windows in the past. Please refer to the Versions table to learn which versions of listen have been tested as part of this guide.

May still not work


Take a deep breath! You’ve now installed everything you need to run Jekyll on Windows. There are a few minor things you should know to make sure that your sites build smoothly and without problems. Click the button below to proceed.

Copyright © 2015 Julian Thilo, licensed under CC-BY-3.0.