pocotan001 / react-styleguide-generator

Easily generate a good-looking styleguide by adding some documentation to your React project.
http://pocotan001.github.io/react-styleguide-generator
MIT License
700 stars 76 forks source link

Fix watch issue where altering props documentation does not re-parse #8

Closed theogravity closed 9 years ago

theogravity commented 9 years ago

This fixes an issue when using the watch mode.

When you alter the props documentation, the page will not be reloaded with the updated props.

  propTypes: {
    /**
     * Type of calendar interaction
     */
    selectionType: React.PropTypes.string

If I change the documentation comment in watch mode, does not parse the new comment.

PS Could you publish a new npm version once this PR is in? Thanks!

pocotan001 commented 9 years ago

@theogravity Version 1.1.3 is published. Thank you for many PR!