react-static-boilerplate-ES6 icon indicating copy to clipboard operation
react-static-boilerplate-ES6 copied to clipboard

watch files

Open westn opened this issue 9 years ago • 2 comments

It would be nice to have a watcher on the files, so it automatically recompiles the code when you save a file. I've been trying to make it work without much success today, but perhaps there is some solution. Since it should work with webpack.

westn avatar Aug 06 '15 22:08 westn

Thanks! I appreciate the effort.

I would suggest looking into Gatsby, which could maybe be a more coherent solution to React static site generation than what me and Brent have managed. It definitely has hotloading, which is nice.

hew avatar Aug 06 '15 22:08 hew

Actually I was wrong, as I was playing around with my site today. The Webpack setup will recompile on changes; it just doesn't have hot-loading (where you don't have to reload the browser). Can you confirm that there is recompilation happening? Because there should be.

hew avatar Jan 21 '16 22:01 hew