figwheel-main 2025-02-06

What’s the recommended way to include the same :npm-deps dependencies in all Figwheel builds of a project? For context, I need to pull in CodeMirror 6 for all my builds, and CodeMirror 6 isn’t available through CLJSJS so I can’t just edit my deps.edn.

@bhauman based on your comment above about headless Firefox testing: I've bumped my app from 0.2.18 to 0.2.20 and the following headless chrome command running in our CI linux pipeline stopped working 🫣 (we downgraded to get everything working again)

{:launch-js [\"/opt/google/chrome/chrome\" \"--headless\" \"--remote-debugging-port=9222\" :open-url]}
I believe the only substantial change was bumping ring to latest, so i'm not sure why it would stop working. When I originally faced this problem, the issue was that chrome was failing to run, hence the flags we're using. I will continue to explore to see how/why the environment is affecting the run, but it's certainly a head scratcher.

Hmmm, this is so strange...

It must be a communication issue. I've had some intermittent problems where the initial connect time for the websocket is long. liek 15 20 seconds.

I'm starting to think the websocket support might not be that robust. The websocket used to have it's own context handler and everything worked quite well.

👍 1

Thanks! I think the only issue I have is the fact that I have to run npm install manually, though it isn’t a big deal.

> I'm starting to think the websocket support might not be that robust. oof. Let me know if there's anything I can do to support.

👍 1