mapbox / batfish

A static-site generator for React and Markdown
ISC License
126 stars 17 forks source link

Front Matter in React component is parsed once per build #60

Closed jfurrow closed 7 years ago

jfurrow commented 7 years ago

It's not a huge deal, but it seems that changes to front matter aren't reflected in the props that get passed to their respective React components. The dev server reloads the app when the file changes, but the values in props remain the same.

davidtheclark commented 7 years ago

Yeah: https://github.com/mapbox/batfish#development-server

We can leave this issue open because if someone finds a good solution, it'll be a better dev experience.

jfurrow commented 7 years ago

Oh, I'm glad to see it's already documented!