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

Not hot reloading #39

Closed
josephdburdick opened this issue Oct 12, 2017 · 8 comments
Closed

Not hot reloading #39

josephdburdick opened this issue Oct 12, 2017 · 8 comments

Comments

@josephdburdick
Copy link

Hi, I was under the impression that saving a file would automatically reload a browser running the site while using react-static start. Is this not the case? Data is changed, I can see that when I manually reload, but the browser does not "hot reload" on it's own when I save any template/data. Please advise. Thanks!

@tannerlinsley
Copy link
Contributor

tannerlinsley commented Oct 12, 2017 via email

@tannerlinsley
Copy link
Contributor

This may be possible in the future, but so far there is no reliable way to do this while still supporting a data agnostic framework.

@josephdburdick
Copy link
Author

All changes, whether data, style, or markup are not hot reloading for me.

@tannerlinsley
Copy link
Contributor

tannerlinsley commented Oct 13, 2017 via email

@josephdburdick
Copy link
Author

If you insist I upload what I have to Github I will but I have only started a new project. I chose the styled-components option, edited a few lines of CSS in App.js, the text inside Home.jsx, and nothing else. It doesn't reload.

@tannerlinsley
Copy link
Contributor

tannerlinsley commented Oct 13, 2017 via email

@josephdburdick
Copy link
Author

I am running

  • react-static@1.3.1
  • node@8.1.4

@josephdburdick
Copy link
Author

@tannerlinsley let me know if there's anything else you'd like me to try. Thanks!

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

No branches or pull requests

2 participants