petehunt / node-jsx

transparently require() jsx from within node
164 stars 32 forks source link

How do you recompile JSX files in development? #37

Closed mgutz closed 9 years ago

mgutz commented 9 years ago

We're doing an isomorphic app but it seems whenever I change the JSX file only the client sees the changes. How does node-jsx handle changes on the server? Is there a way to reload the JSX file without restarting the server?

mgutz commented 9 years ago

I tried different "reloader" modules on npm and hacking myself but they only work in trivial cases. Just use nodemon to restart the server whenever a JSX files changes.