Skip to content

Commit 16e6bf0

Browse files
committed
Wait for specific pid
1 parent f70e7e9 commit 16e6bf0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/support/webpacker_helpers.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ def with_dev_server
9090
# Kill the server process
9191
puts "Killing webpack dev server"
9292
puts Process.kill("HUP", webpack_dev_server)
93-
Process.wait
93+
Process.wait(webpack_dev_server)
94+
puts $?
9495
check_cmd = "lsof -i :8080 -S"
9596
puts check_cmd
9697
puts `#{check_cmd}`

0 commit comments

Comments
 (0)