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 Browsersync functionalities #10

Open
asuh opened this issue Jul 25, 2024 · 1 comment
Open

Add Browsersync functionalities #10

asuh opened this issue Jul 25, 2024 · 1 comment

Comments

@asuh
Copy link
Owner

asuh commented Jul 25, 2024

I could either add Browsersync itself or find a way to add a couple of functionalities:

  1. The current HMR solution provides real-time CSS and JS updates incrementally on-save, the one potential thing that would be interesting is to sync the scroll position
  2. Allow an external device to preview the IP address and host of the project. This might be adding --host to the vite commands, need to do more reading and testing
@asuh
Copy link
Owner Author

asuh commented Jul 25, 2024

I tried --host and that does work for the theme files themselves but it doesn't work to show the localhost environment completely.

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

1 participant