vm4docker
automatic file touch on OS X for docker vm
Details
Installs
- Total 413
- Win 0
- Mac 316
- Linux 97
Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | Jul 29 | Jul 28 | Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
sublime-vm4docker
automatic file touch on OS X for docker vm
This is made for vm4docker, this should also work with boot2docker.
Requirements
A host named docker
should exists, or you can change it with the host
settings.
You should be able to ssh to your docker host under the current user.
In your docker vm the /Users
folder from you mac should be mounted
(nfs, shared folders, etc).
What It Does
The plugin does a ssh to the docker vm and does a touch of the same file path you are editing in your mac.
This is useful for auto reloading development setups in you docker vm, which listen on ionotify, for example flask oder django dev servers.
Settings
{
"host": "docker",
"file_extensions": ["py", "md"],
"do_ssh_key_checking": false,
"watch_paths": ["/Users/myuser/myprojects", "/Users/myuser/otherprojects"]
}
- host: default: “docker”, “mydockerhost”, ssh host
- file_extenions: default: , [“py”, “md”], only trigger with 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
- do_ssh_key_checking: default:
false
,true|false
, force ssh key checking withtrue