jnordberg / wintersmith

A flexible static site generator
http://wintersmith.io/
MIT License
3.5k stars 332 forks source link

Is wintesmith support on Windows? #326

Closed callmehanu closed 7 years ago

callmehanu commented 7 years ago

I am using the command wintersmith preview but the browser don't refresh when I do change en the md files.

jnordberg commented 7 years ago

Hi, yes windows is supported, are you using wintersmith-livereload?

callmehanu commented 7 years ago

wintersmith livereload

VaelynPhi commented 7 years ago

@hanubot when using the command "wintersmith preview" and viewing the site in your browser, by default you will have to refresh manually to see changes in files. This does work in Windows.

If what you want is to have the browser refresh automatically when you save your source files, you will need to install the wintersmith plugin for livereload. You can do this by following the instructions in the plugin repo: https://github.com/jnordberg/wintersmith-livereload

After you install the plugin, you use "wintersmith preview" normally, BTW. (You will have to make sure you include the script in your template files. I think the plugin takes care of only injecting it when using preview and that way keeps the livereload script out of your built site files.)

I have not tested personally used this plugin, but I have used Livereload in Windows, and Wintersmith, and know of no reason that either would not work.