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

Automatic reloaded when stumptown-content files change #75

Closed
peterbe opened this issue Aug 14, 2019 · 0 comments · Fixed by #84
Closed

Automatic reloaded when stumptown-content files change #75

peterbe opened this issue Aug 14, 2019 · 0 comments · Fixed by #84

Comments

@peterbe
Copy link
Contributor

peterbe commented Aug 14, 2019

User story:

  1. Check out stumptown-renderer and make install, make run-server etc.
  2. Start viewing it in the browser. E.g. http://localhost:3000/docs/Web/HTML/Element/video/
  3. Open up something like stumptown/content/html/reference/elements/video/docs.md in an editor like vim or vscode.
  4. Make some changes and hit Ctrl-S to save the file.
  5. For the web page to automatically reload to show these new changes.

This daemon that monitors file changes would need to be something that developers ideally run in the foreground. That way they can see if a typo, for example, breaks the rendering update. So it would be nice to make it all pretty and colorful.
We could also do what create-react-app's webpack dev server does which is to catch errors in the daemon, send them to the browser and instead of reloading the page, show the whole error fullscreen.

@peterbe peterbe mentioned this issue Sep 5, 2019
5 tasks
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 a pull request may close this issue.

1 participant