Polypane works really well with automatic reloading tools like Browsersync or hot module reloading.
Using Polypane with Browsersync
Polypane already syncs mouse and keyboard events, scrolling and the location so it's recommended to turn those off in Browsersync via ghostMode or via the management UI. Polypane will show a popup warning about this once per session for every page that it detects browsersync on.
Polypane accepts a url as an argument when starting, like other browsers. This enables you to set it as your browser in Browsersync. By adding
--browser 'polypane' (though depending on your operating system you might need to provide the full path), Browsersync will automatically start Polypane with the right URL. This also works with opn, webpack-dev-server and similar tools.
General SPA support
Polypane supports the history api so it works great out of the box with SPA routers that work without full page reloads.
Is your question not answered?
Ask via Twitter, Slack or our contact form
Build and test your sites on many devices at once.
Save time and catch bugs before your visitors do.