Skip to content

Commit 2bae39a

Browse files
committed
More debug
1 parent e7fb25a commit 2bae39a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/support/webpacker_helpers.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,14 @@ def with_dev_server
9898
puts check_cmd
9999
status = `#{check_cmd}`
100100
puts status
101-
if status.include?(webpack_dev_server.to_s)
101+
still_alive = status.include?(webpack_dev_server.to_s)
102+
puts "Still alive? #{still_alive} (#{webpack_dev_server.to_s})"
103+
if still_alive
102104
puts kill_cmd
103105
puts `#{kill_cmd}`
104106
sleep 0.5
105107
else
108+
puts "Break"
106109
break
107110
end
108111
end

0 commit comments

Comments
 (0)