livereload_rails 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/livereload_rails/railtie.rb +2 -1
- data/lib/livereload_rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 650678dedb683a2563478069fdc0057d9aacc60b
|
4
|
+
data.tar.gz: f476e29f7c33926a98c2b5e8a22aa218140a1b0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aced287f8b0d26b427b2e181162d6a19aaf17fbbb0dbf66e8bc3cf5e102e7b7faa2d3786027278126c6ce942dad12c5d2807a62b72a67ed6460597f9bc6848f5
|
7
|
+
data.tar.gz: 9175037b06a5d00ce85c16dc51b2b2b5e244c0ba9d879cbbff932b4b060dbd6534df9ad064c8f66e3fb56f9062e3c58920b7c0e944163660e8a376b02ceb98c0
|
@@ -1,10 +1,11 @@
|
|
1
1
|
require "livereload_rails"
|
2
2
|
require "rails/engine"
|
3
|
+
require "rails/commands/server"
|
3
4
|
require "rack-livereload"
|
4
5
|
|
5
6
|
module LivereloadRails
|
6
7
|
class Railtie < ::Rails::Engine
|
7
|
-
config.app_middleware.use Rack::LiveReload, live_reload_port: Rails::Server.new.options[:Port]
|
8
|
+
config.app_middleware.use Rack::LiveReload, live_reload_port: ::Rails::Server.new.options[:Port]
|
8
9
|
config.app_middleware.use LivereloadRails::Middleware, assets: config.assets
|
9
10
|
end
|
10
11
|
end
|