HarveyD / react-component-library

A project skeleton to get your very own React Component Library up and running using Rollup, Typescript, SASS + Storybook
https://blog.harveydelaney.com/creating-your-own-react-component-library/
MIT License
790 stars 167 forks source link

[Feature] add watch mode for development #16

Closed mnlbox closed 4 years ago

mnlbox commented 4 years ago

Hi,

I think a watch mode feature also can be very useful in this repo. Something like watch mode in https://github.com/transitive-bullshit/create-react-library and microbundle. It is possible in Rollup, right?

HarveyD commented 4 years ago

You just need to add:

"build:watch": "rollup -c --watch",

to your package.json scripts.

ghost commented 1 year ago

the example app, doesn't get updated with the latest build automatically, how do i achieve that