jnordberg / wintersmith

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

Hot plugin reloading #285

Closed fusepilot closed 9 years ago

fusepilot commented 9 years ago

Change something inside of paginator.coffee to see it work. Make sure wintersmith-livereload is installed.

Also, not sure what the point of unloadOnReset in loadModule is, I removed it so I could get a list of all loaded modules including plugins listed in the config.

And this currently only works with things like Paginator, but not for things like ContentPlugins. Would have to trigger a content re-render for all content that was relient on the reloaded plugin. But I dont think it would be too hard to extend to add that functionality.

@jnordberg is this something you're interested in?

reubano commented 8 years ago

This is awesome! I'll be incorporating it into my fork.