edgafner / GBrowser

A Browser embedded in your IDE
Apache License 2.0
72 stars 17 forks source link

[BUG]: Plugin hangs IDEA 2024.1.4 when working with Markdown files #284

Open Les-Fleming opened 1 week ago

Les-Fleming commented 1 week ago

Describe the bug When I view markdown changes in GBrowser in real time, it tends to hang my IDE intermittently.

Steps to reproduce the behavior:

  1. Construct a development container that mounts the directory containing the markdown files and include mkdocs. Ensure that the Markdown files can be reached through a browser.
  2. Navigate to the exposed URL with GBrowser
  3. Make changes to a markdown file (add an img tag for example) and watch GBrowser refresh the content.
  4. If you repeat this action multiple times, you may encounter GBrowser freezing. The only recovery method is to exit and restart your IDE. Occasionally, it may necessitate double exiting and restarting because at times, after the first restart, the plugin attempts to complete the previous unsuccessful action

Expected behavior Allow GBrowser to update the most recent modifications to the Markdown file without causing the IDE to freeze

Screenshots When the IDE freezes, it just displays the spinning MacOS wheel.

Desktop (please complete the following information):

Jetrbrains IDE (please complete the following information):

Additional context I'm not facing the freezing issue when I use a different browser plugin.