Auto-refresh not working for some paths

Kevin's Avatar

Kevin

17 Oct, 2011 12:27 AM

I have a text file called plan.txt and I edit it in MacVim. When I save, normally Marked refreshes and shows the changes within about a second. But when I moved the file to another place (and reopened it in both apps) it no longer worked. I would save, and Marked would not notice. I took to cmd-tabbing to Marked and typing cmd-R to refresh, which worked.

My home folder is /Users/kevinc/. At these paths, auto-refresh works normally:

  • /Users/kevinc/Desktop/plan.txt
  • /Users/kevinc/A/plan.txt
  • /Users/kevinc/Src/plan.txt

At these paths it does not work:

  • /Users/kevinc/a/plan.txt
  • /Users/kevinc/src/plan.txt

So I think it has to do with lowercase folder names.

In these tests, the Unix owner, group and file permissions were:

  • Desktop, drwx------+
  • A, kevinc:staff drwxr-xr-x
  • a, kevinc:staff drwxr-xr-x
  • Src, kevinc:staff drwxr-xr-x
  • src, kevinc:staff drwxr-xr-x
  • plan.txt, kevinc:staff -rw-r--r--
  1. Support Staff 1 Posted by Brett on 17 Oct, 2011 12:46 PM

    Brett's Avatar

    This is interesting (and rather serious). I will do some testing and plan to have a fix in place before 1.3.1 is released.

  2. Support Staff 2 Posted by Brett on 17 Oct, 2011 02:32 PM

    Brett's Avatar

    Kevin,

    I can't replicate this, but it appears the drive I'm testing on is formatted as case insensitive. I assume yours is case sensitive?

  3. 3 Posted by Kevin on 17 Oct, 2011 02:50 PM

    Kevin's Avatar

    According to Disk Utility, my disk is formatted as "Mac OS Extended (Journaled)", as opposed to "Mac OS Extended (Case-sensitive, Journaled)". For what it's worth, it's a third-party SSD but it is my only hard disk. I could do a screencast of the problem if you like?

  4. Support Staff 4 Posted by Brett on 17 Oct, 2011 02:58 PM

    Brett's Avatar

    No screencast needed. You've described the problem well, I just need to be able to replicate it locally before I can possibly see if changes have any effect. I may shoot you some predicates for `mdfind` to test, though. I'll be in touch soon.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac