Dropsource / monarch

Monarch is a tool for building Flutter widgets in isolation. It makes it easy to build, test and debug complex UIs.
https://monarchapp.io
MIT License
438 stars 23 forks source link

preview_api: cache preview-notifications api clients #108

Closed fertrig closed 1 year ago

fertrig commented 1 year ago

Fixes #106.

Monarch 2.1.6 removed the caching of the api clients. Thus, new connections were generated constantly.

This fix caches preview-notifications api client connections. This fix caches the api clients by server port number.