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

feature request: watch with devtools (aka "hot reload") #57

Open
gigaga opened this issue Jan 14, 2020 · 1 comment
Open

feature request: watch with devtools (aka "hot reload") #57

gigaga opened this issue Jan 14, 2020 · 1 comment

Comments

@gigaga
Copy link

gigaga commented Jan 14, 2020

Context:

  • version (md-to-pdf -v): 2.8.2
  • platform (Unix, macOS, Windows): Windows
  • node version: 10.15.3

Describe the bug:

I'd like to run watch mode with devtools to be able to see the render in Chrome in live but it does not work --> Changes are not displayed

@gigaga gigaga added the bug label Jan 14, 2020
@simonhaenisch simonhaenisch added feature and removed bug labels Jan 14, 2020
@simonhaenisch
Copy link
Owner

In its current state, --watch cannot work with --devtools because the file watcher only kicks in after the first conversion has finished. Even if that was "fixed", it would create a new browser tab each time you make a change. It's technically possible to hot-reload the whole page though (by replacing its content), so I'll leave this open as a feature request. I don't have any capacity to implement this though, as I'm focusing on other stuff in the v3 branch at the moment.

@simonhaenisch simonhaenisch changed the title bug: Watch with devtools feature request: watch with devtools Feb 4, 2020
@simonhaenisch simonhaenisch changed the title feature request: watch with devtools feature request: watch with devtools (aka "hot reload") Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants