infiniteluke / next-static

A simple static blog powered by next.js
MIT License
105 stars 9 forks source link

Reason for switch to nodemon vs babel preval #8

Closed sammdec closed 7 years ago

sammdec commented 7 years ago

Hi there, thanks for creating this I wanted to create the exact same thing for my blog so this has been really handy to learn from.

I had one question though and that was why you switched from using the babel preval plugin to using the nodemon method you seem to be using now? Did you find one faster or easier to maintain?

infiniteluke commented 7 years ago

Thanks @samjbmason! In short, babels cache was causing changes to markdown files not to be picked up. Read this issue for an overview: kentcdodds/babel-plugin-preval#19

Also, PRs are welcome and encouraged!