We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a715e05 commit 6e10af1Copy full SHA for 6e10af1
lib/webpacker/dev_server.rb
@@ -13,7 +13,7 @@ def initialize(config)
13
14
def running?
15
if config.dev_server.present?
16
- Socket.tcp(host, port, connect_timeout: connect_timeout).close
+ Timeout.timeout(connect_timeout) { Socket.tcp(host, port).close }
17
true
18
else
19
false
0 commit comments