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

Add documentation for autoRestart flag, specifically that it should be set to false for HMR #20

Merged
merged 1 commit into from
Jul 12, 2022

Conversation

shahmirn
Copy link
Contributor

Currently, with the default for autoRestart being true, when a code change occurs, the script that's ran is completely restarted, completely negating Hot Module Replacement.

Ideally, the code would be smart enough to detect that HMR is in use, but at the minimum, there should be documentation present regarding the autoRestart flag.

@atassis
Copy link
Owner

atassis commented Jul 12, 2022

Oops, my bad
I'll try to research about hmr bit later

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.

2 participants