Skip to content

Added option so server restarts aren't required when required JSX changes#12

Open
nathanwelch wants to merge 2 commits intopetehunt:masterfrom
nathanwelch:master
Open

Added option so server restarts aren't required when required JSX changes#12
nathanwelch wants to merge 2 commits intopetehunt:masterfrom
nathanwelch:master

Conversation

@nathanwelch
Copy link

Added a watch option to the node-jsx install function. Every transformed file is watched and when changed, the require.cache is invalidated for the file. This is useful in development for server-side React (React+Rendr in my case) so you don't have to bounce the server on each JSX change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant