diff --git a/repository/Brea/BreaApp.class.st b/repository/Brea/BreaApp.class.st index 8746f42..c9061a8 100644 --- a/repository/Brea/BreaApp.class.st +++ b/repository/Brea/BreaApp.class.st @@ -100,5 +100,5 @@ BreaApp >> preview [ { #category : #accessing } BreaApp >> webHost [ - ^ host ifNil: [ host := Teapot allInstances detect: [ :each | each webHost isRunning ]] + ^ host ifNil: [ host := Teapot allInstances detect: [ :each | each server isRunning ] ifNone: [ host := Teapot on. host server start ]] ]