vagrant-notify-forwarder 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0de481fac4a7e43796671364c899c5dacaf63c68
|
4
|
+
data.tar.gz: 62ee6182f5f9c1eb47f02e283688d8f8d3720426
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5939a4088a66cb58af7add7b435443f9ed86eb7b83ba2ecb225c2f1bc6783c46bb388cb6c43fcf685ec2864e7b12116404710dad153adcdcb01526f89437666d
|
7
|
+
data.tar.gz: e8d9340c781a795d9f482c27687beb43b5068bafc9407ce08b2f6668bf8d4a47835a81a818e9b161d72cef6e7eee310323a166add8c62342bc51645adb87e25f
|
data/README.md
CHANGED
@@ -39,7 +39,9 @@ module VagrantPlugins
|
|
39
39
|
port = env[:machine].config.notify_forwarder.port
|
40
40
|
|
41
41
|
env[:machine].communicate.upload(path, "/tmp/notify-forwarder")
|
42
|
+
env[:ui].output("Starting notify-forwarder ...")
|
42
43
|
env[:machine].communicate.execute("nohup /tmp/notify-forwarder receive -p #{port} &")
|
44
|
+
env[:ui].detail("Notify-forwarder: guest listening for file change notifications on 0.0.0.0:#{port}.")
|
43
45
|
end
|
44
46
|
end
|
45
47
|
end
|
@@ -44,11 +44,13 @@ module VagrantPlugins
|
|
44
44
|
|
45
45
|
env[:machine].config.vm.synced_folders.each do |id, options|
|
46
46
|
unless options[:disabled]
|
47
|
-
hostpath = File.
|
47
|
+
hostpath = File.expand_path(options[:hostpath], env[:root_path])
|
48
48
|
guestpath = options[:guestpath]
|
49
49
|
|
50
50
|
args = "watch -c 127.0.0.1:#{port} #{hostpath} #{guestpath}"
|
51
51
|
start_watcher env, "#{path} #{args}"
|
52
|
+
env[:ui].detail("Notify-forwarder: host sending file change notifications to 127.0.0.1:#{port}")
|
53
|
+
env[:ui].detail("Notify-forwarder: host forwarding notifications on #{hostpath} to #{guestpath}")
|
52
54
|
end
|
53
55
|
end
|
54
56
|
end
|
@@ -56,4 +58,4 @@ module VagrantPlugins
|
|
56
58
|
end
|
57
59
|
end
|
58
60
|
end
|
59
|
-
end
|
61
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-notify-forwarder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Magnus Hallin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A vagrant plugin that forwards file system events from the host to the
|
14
14
|
guest
|