Skip to content

Commit 0297a98

Browse files
authored
Fix digest for additional paths (#84)
1 parent 135c556 commit 0297a98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
shakapacker (6.1.1)
4+
shakapacker (6.2.0)
55
activesupport (>= 5.2)
66
rack-proxy (>= 0.6.1)
77
railties (>= 5.2)

lib/webpacker/compiler.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def run_webpack
109109

110110
def default_watched_paths
111111
[
112-
*config.additional_paths,
112+
*config.additional_paths.map { |path| "#{path}/**/*" },
113113
"#{config.source_path}/**/*",
114114
"yarn.lock", "package.json",
115115
"config/webpack/**/*"

0 commit comments

Comments
 (0)