0
Rails 5.1.1,ruby 2.4.1,webpacker 2.0,通過rake test:system
運行系統測試時。如何調試webpacker運行兩次?
如果有辦法看到更多的調試日誌,這將有利於像哪個文件加載哪些模塊等
請注意,這是隻發生在沒有緩存,測試應是可。如果有緩存,webpacker根本不運行,這是正常的。
/usr/local/lib/ruby/gems/2.4.0/gems/webpacker-2.0/lib/tasks/installers.rake:1: warning: already initialized constant INSTALLERS
/usr/local/lib/ruby/gems/2.4.0/gems/webpacker-2.0/lib/tasks/installers.rake:1: warning: previous definition of INSTALLERS was here
/usr/local/lib/ruby/gems/2.4.0/gems/webpacker-2.0/lib/tasks/webpacker/install.rake:1: warning: already initialized constant WEBPACKER_APP_TEMPLATE_PATH
/usr/local/lib/ruby/gems/2.4.0/gems/webpacker-2.0/lib/tasks/webpacker/install.rake:1: warning: previous definition of WEBPACKER_APP_TEMPLATE_PATH was here
Webpacker is installed � �
Using ..../config/webpacker.yml file for setting up webpack paths
Webpacker is installed � �
Using ..../config/webpacker.yml file for setting up webpack paths
[Webpacker] Compiling assets �
[Webpacker] Compiling assets �