-
Notifications
You must be signed in to change notification settings - Fork 23
Description
When a Companion auto-restarts to load a module with changed files, Companion CPU usage goes up to 70% while idle (on my Windows system, even without the admin WebUI open) and stays there. See images below. I did this by just running yarn build in my Typescript projects without changing the file contents.
This behavior appears to be the same in Companion version v4.0.3, v4.1.0, and the latest 4.2 beta: 8448, with module-base versions 1.11.0 - 1.13 (only 1.11 was tested with 4.0.3). I didn't check earlier versions.
I have been able to reproduce the problem with module-template-ts, but only inconsistently (maybe one in 10 null re-builds?). The problem shows up much less consistently, for example, the Osee GoStream module. It does it for me even if the module is disabled. (It's possible that having buttons that use the module is necessary for the problem to show up.)
OS: Windows 10
Browser: Chrome (though the browser doesn't have to be open.)
Normal usage:
After re-building the module:
