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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Bonethug
3
- VERSION = "0.0.54.3"
4
- BUILD_DATE = "2013-10-13 09:22:34 +1300"
3
+ VERSION = "0.0.54.4"
4
+ BUILD_DATE = "2013-10-13 09:38:51 +1300"
5
5
  end
6
6
 
@@ -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
- exec 'bundle exec guard --debug --guardfile "' + target + '/.bonethug/Guardfile"'
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bonethug
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.54.3
4
+ version: 0.0.54.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: