Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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