hotwire-livereload 0.1.3 → 0.1.4

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
  SHA256:
3
- metadata.gz: 5df2481e44b656c233a0088024d87bc11fcc54ba3fd469bc5c5ef6b5ff69225f
4
- data.tar.gz: 6550a575e2cb6d601e2b516106a155fd7805fdecb4b25a89137c56fadd78a291
3
+ metadata.gz: 3f8001c1b5e1ae699af050da2c601fd29ee3242cdcdd87f1487b38d18a395978
4
+ data.tar.gz: 0fa2a43353fceb7e14908d1130cb7fcea7c71b59846888c3845e91922b5ac833
5
5
  SHA512:
6
- metadata.gz: 40269aa33f0c249354eb64f688461bcfde1956b0727e183c80c7c70d277040195e235110eeef12ec81a47f1261317a2a2096f4e605aa04e68c76d9ae140ca290
7
- data.tar.gz: e792c0b4fcc371ef4c9fbb87bb7766516a4b93e54a69574c1e9fc320cbb594c06e09cf731afc2cdbdb12bebbaca7bcb8dc84ecb2c129ad41f71e79d8e8ef0aa0
6
+ metadata.gz: 7202fa592b12ab9ef913d0fc62979b998a53357f9d74731df1fe1990ebe1f358a628509ae4a6010ee8dec1fbcadb60281bf9e62def1e829da728af9eeb211684
7
+ data.tar.gz: 7b3b8dd4a60f103f2f2b9c673ceab137855a9ceaf583a6ed564384d1e1f617a80b06c7e751d09cdf801d583c7bea9ed60801accce6cd0c11203a1f0b9e996922
@@ -29,6 +29,10 @@ module Hotwire
29
29
  options = app.config.hotwire_livereload
30
30
  options.listen_paths = options.listen_paths.map(&:to_s)
31
31
  options.listen_paths << Rails.root.join("app/views")
32
+ options.listen_paths << Rails.root.join("app/helpers")
33
+ if Dir.exist?(Rails.root.join("app/javascript"))
34
+ options.listen_paths << Rails.root.join("app/javascript")
35
+ end
32
36
  end
33
37
 
34
38
  config.after_initialize do |app|
@@ -1,5 +1,5 @@
1
1
  module Hotwire
2
2
  module Livereload
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hotwire-livereload
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kirill Platonov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-03 00:00:00.000000000 Z
11
+ date: 2021-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails