@@ -242,8 +242,8 @@ defmodule IEx.Server do
242242 end
243243 end
244244
245- defp handle_take_over ( { :respawn , evaluator } , _state , evaluator , evaluator_ref , input , _callback ) do
246- rerun ( [ ] , evaluator , evaluator_ref , input )
245+ defp handle_take_over ( { :respawn , evaluator } , state , evaluator , evaluator_ref , input , _callback ) do
246+ rerun ( state . evaluator_options , evaluator , evaluator_ref , input )
247247 end
248248
249249 defp handle_take_over ( { :continue , evaluator } , state , evaluator , evaluator_ref , input , _callback ) do
@@ -254,18 +254,18 @@ defmodule IEx.Server do
254254
255255 defp handle_take_over (
256256 { :DOWN , evaluator_ref , :process , evaluator , :normal } ,
257- _state ,
257+ state ,
258258 evaluator ,
259259 evaluator_ref ,
260260 input ,
261261 _callback
262262 ) do
263- rerun ( [ ] , evaluator , evaluator_ref , input )
263+ rerun ( state . evaluator_options , evaluator , evaluator_ref , input )
264264 end
265265
266266 defp handle_take_over (
267267 { :DOWN , evaluator_ref , :process , evaluator , reason } ,
268- _state ,
268+ state ,
269269 evaluator ,
270270 evaluator_ref ,
271271 input ,
@@ -281,7 +281,7 @@ defmodule IEx.Server do
281281 io_error ( "** (IEx.Error) #{ type } when printing EXIT message: #{ inspect ( detail ) } " )
282282 end
283283
284- rerun ( [ ] , evaluator , evaluator_ref , input )
284+ rerun ( state . evaluator_options , evaluator , evaluator_ref , input )
285285 end
286286
287287 defp handle_take_over ( _ , state , _evaluator , _evaluator_ref , _input , callback ) do
0 commit comments