Skip to content

Server mode: Connect to proxied watch notifier WebSocket server instead of localhost #664

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

Merged
merged 11 commits into from
Jun 20, 2025

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Jun 11, 2025

This PR adds a proxy for WebSocket server for notifying the change event of watch mode, to /.__marp-cli-watch-notifier__/* in server mode.

By this change, HTML slides generated by server mode will become not to use a static localhost address. So even if viewed the server in forwarded address, the change event for Markdown files should become to work.

Fixed #513.

@yhatt yhatt merged commit dd507b1 into main Jun 20, 2025
@yhatt yhatt deleted the server-mode-watch-notifier-proxy branch June 20, 2025 18:48
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.

Can't use server autoreloader when not running on localhost
1 participant