bonethug 0.0.54.3 → 0.0.54.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/bonethug/version.rb +2 -2
- data/lib/bonethug/watcher.rb +3 -1
- metadata +1 -1
data/lib/bonethug/version.rb
CHANGED
data/lib/bonethug/watcher.rb
CHANGED
@@ -10,6 +10,7 @@ require 'fileutils'
|
|
10
10
|
require 'find'
|
11
11
|
require 'digest/md5'
|
12
12
|
require 'yaml'
|
13
|
+
require 'rbconfig'
|
13
14
|
|
14
15
|
module Bonethug
|
15
16
|
|
@@ -108,7 +109,8 @@ module Bonethug
|
|
108
109
|
end
|
109
110
|
|
110
111
|
puts 'Starting Watch Daemon...'
|
111
|
-
|
112
|
+
poll = RbConfig::CONFIG['target_os'] =~ /mswin|mingw|cygwin/i ? '--force-polling' : ''
|
113
|
+
exec 'bundle exec guard --debug ' + poll + ' --guardfile "' + target + '/.bonethug/Guardfile"'
|
112
114
|
|
113
115
|
end
|
114
116
|
|