Skip to content

automatic file touch on OS X for mac for docker with nfs

License

Notifications You must be signed in to change notification settings

yvess/sublime_d4m

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sublime-d4m

automatic file touch on OS X for docker for mac with d4m-nfs

This is made for d4m-nfs.

Requirements

In your docker xhyve vm the mnt folder must be symlinked to /Users/<myusername>.

What It Does

The plugin executes a screen command to touch the file in the vm, to trigger filesytem notifications.

This is especially useful for auto reloading in development setups, which listen on ionotify, for example javascript compilers.

Settings

{
    "file_extensions": ["py", "md"],
    "watch_paths": ["/Users/myuser/myprojects", "/Users/myuser/otherprojects"]
}
  • file_extenions: default: [] for all files, ["py", "md"] reduce to this file extensions
  • watch_paths: default: $HOME, ["/Users/myuser/myprojects", "/Users/myuser/otherprojects"], only trigger if file is in one of this paths, the path must be inside /Users/myuser

About

automatic file touch on OS X for mac for docker with nfs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages