livereload 1.2 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/livereload.rb +1 -1
  2. metadata +2 -1
data/lib/livereload.rb CHANGED
@@ -18,7 +18,7 @@ module LiveReload
18
18
  end
19
19
 
20
20
  def self.run(host, port, dir, exts)
21
- EM.kqueue = true
21
+ EM.kqueue = true if EM.kqueue?
22
22
  $dw = DirectoryWatcher.new dir, :glob => "**/*.{#{exts}}", :scanner => :em
23
23
 
24
24
  puts
metadata CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 2
8
- version: "1.2"
8
+ - 1
9
+ version: 1.2.1
9
10
  platform: ruby
10
11
  authors:
11
12
  - Andrey Tarantsov