File tree 2 files changed +9
-5
lines changed
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
+
1
5
## 1.6.4
2
6
3
7
* 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
98
98
server_version = server . gets . chomp
99
99
if server_version != env . version
100
100
$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.
105
103
ERROR
106
- exit 1
104
+
105
+ stop_server
106
+ cold_run
107
107
end
108
108
end
109
109
You can’t perform that action at this time.
0 commit comments