PlasmoHQ / plasmo

🧩 The Browser Extension Framework
https://www.plasmo.com
MIT License
10.59k stars 369 forks source link

[BUG] CLI: `plasmo dev` is freezing & unresponsive #1062

Closed jlalmes closed 2 months ago

jlalmes commented 2 months ago

What happened?

When saving a file the Extension re-packaged is not showing. Then when trying to exit the process with Ctrl + C it is unresponsive, must kill the pid with kill -9.

Is there a way to get more verbose logs so that I can identify the issue - DEBUG=* doesn't reveal any additional information.

Screenshot 2024-09-05 at 11 35 08

Version

Latest

What OS are you seeing the problem on?

MacOSX

What browsers are you seeing the problem on?

No response

Relevant log output

No response

(OPTIONAL) Contribution

Code of Conduct

jlalmes commented 2 months ago

Ok think this was caused by me overriding the @parcel/watcher module, because I was unable to install plasmo (cc https://github.com/parcel-bundler/watcher/issues/156).

Screenshot 2024-09-05 at 12 39 34

I have now changed the override to the following - and so far seems to work great!

// package.json
{
  ...
  "overrides": {
    "@parcel/watcher": "2.1.0"
  }
}