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.

On macOs not all changes are picked up

See original GitHub issue

Hi,

I have been playing with the file-events 0.22-milestone-10 and I didn’t understood why changes in an intellij log file wasn’t picked up with my code, so I ran the test-app code, but the problem appears to be the same.

So I’m trying to watch changes in this file /Users/bric3/Library/Logs/JetBrains/IntelliJIdea2020.3/idea.log, I ran net.rubygrapefruit.platform.test.Main.main with /Users/bric3/Library/Logs/JetBrains/IntelliJIdea2020.3 as it seems the macOs file event watcher cannot wath specific files. But the watcher do not pick up changes, while running a simple tail works as expected.

Howver I noted that if I modify the file myself, changes aredetected and reported to the handler.

echo test >> /Users/bric3/Library/Logs/JetBrains/IntelliJIdea2020.3/idea.log

Running Big Sur 11.1, on Java 15.0.1 (Corretto)

$ sw_vers
ProductName:	macOS
ProductVersion:	11.1
BuildVersion:	20C69
$ uname -a
Darwin <edited> 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec  2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 x86_64

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
lptrcommented, Jan 11, 2021

Yes, we should definitely document this once we add a public API and documentation to the feature.

BTW, if you have more questions, we have a #file-system-watching channel on the Gradle community Slack here: https://gradle-community.slack.com

0reactions
bric3commented, Jan 12, 2021

Cool, thanks for the tip !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Customize your Mac with System Settings - Apple Support
To change options for an app, such as Mail or Safari, open the app, click the app's name in the menu bar, then...
Read more >
macOS Ventura: 50 New Features and Changes Worth ...
Below, we've selected 50 new features and lesser-known changes that are worth ... Have you seen any other improvements not listed here?
Read more >
Sync files with OneDrive on Mac OS X - Microsoft Support
Learn how to install OneDrive and sync your OneDrive files to your Mac OS X ... If you're not signed in to OneDrive...
Read more >
linux - Mac OS Hosts file change doesn't get picked up by the ...
Am I doing something wrong? My teammate explained we are just mimicking different urls in local environment. linux · macos · dns ·...
Read more >
How to Fix Common Sound Issues on a Mac - MacKeeper
If audio is not working on your Mac, check if it changes when you use ... Make sure your MacBook is backed up...
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