question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Watch option is broken

See original GitHub issue

Hello again !

Starting attractor with attractor calc --watch fails with:

lib/attractor/watcher.rb:14:in `watch': uninitialized constant Attractor::Watcher::Listen

Same happens with report --watch (but report gets created once)

serve --watch results in a blank page (no graph and JS errors in browser console) but no error in terminal

When requiring listen in watcher.rb, it still fails with

gems/listen-3.4.1/lib/listen/adapter/config.rb:16:in `realpath': No such file or directory @ rb_check_realpath_internal -  (Errno::ENOENT)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
mtancoignecommented, Mar 22, 2021

By requiring ‘listen’ in lib/attractor/watcher.rb, it works on Ruby 2.5.5, but not on 2.7:

.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/listen-3.4.1/lib/listen/adapter/config.rb:16:in `realpath': No such file or directory @ rb_check_realpath_internal -  (Errno::ENOENT)
0reactions
julianrubischcommented, Mar 24, 2021

Yep, please rebase!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apple Watch Service & Repair - Apple Support
See your service options, their costs by coverage type, and how long they ... If the glass on your Apple Watch gets damaged,...
Read more >
How To Fix Apple Watch Swipe Up Down Not Working
How to fix Apple watch swipe up down not working. I have 2 fixes for this issue which should work for all recent...
Read more >
Fix issues with setting up your watch - Android - Google Support
Try to set up your watch and phone again · On your Android phone, open the Settings app. · Tap Connected devices. Then,...
Read more >
fs.watch with recursive is throwing on incompatible os · Issue ...
Package is broken with node 14 : fs.watch with recursive is throwing on ... The recursive option is only supported on macOS and...
Read more >
How to repair or replace a broken Apple Watch - Macworld
Here's how to get a broken or damaged Apple Watch repaired or replaced, ... but we suppose Apple could provide a mail-order option.”....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found