File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1+ ## 1.6.5
2+
3+ * Auto-restart server when server and client versions do not match
4+
15## 1.6.4
26
37* Fix incompatibility with RubyGems 2.6.0.
Original file line number Diff line number Diff line change @@ -98,12 +98,12 @@ def verify_server_version
9898 server_version = server . gets . chomp
9999 if server_version != env . version
100100 $stderr. puts <<-ERROR
101- There is a version mismatch between the spring client and the server.
102- You should restart the server and make sure to use the same version.
103-
104- CLIENT: #{ env . version } , SERVER: #{ server_version }
101+ There is a version mismatch between the spring client (#{ env . version } ) and the server (#{ server_version } ).
102+ Restarting to resolve.
105103ERROR
106- exit 1
104+
105+ stop_server
106+ cold_run
107107 end
108108 end
109109
You can’t perform that action at this time.
0 commit comments