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

Use production patch/AppContainer if no module.hot #398

Merged
merged 1 commit into from Oct 14, 2016

Conversation

calesce
Copy link
Collaborator

@calesce calesce commented Oct 14, 2016

Prevents cases where things like NODE_ENV=test import the development AppContainer
and patching code. I left the NODE_ENV=production check in for manually opting out. Closes #396.

Prevents cases where NODE_ENV=test imports the development AppContainer
and patching code. We can leave the NODE_ENV=production check in for
manually opting out. Closes gaearon#396.
@calesce calesce merged commit b4de995 into gaearon:next Oct 14, 2016
@calesce calesce deleted the module-hot branch October 14, 2016 01:49
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.

None yet

1 participant