]> gitweb.factorcode.org Git - factor.git/commitdiff
fix cont-responder tutorial method of starting server.
authorChris Double <chris.double@double.co.nz>
Tue, 24 Jan 2006 10:56:44 +0000 (10:56 +0000)
committerChris Double <chris.double@double.co.nz>
Tue, 24 Jan 2006 10:56:44 +0000 (10:56 +0000)
doc/cont-responder-tutorial.txt

index 29d9bfb23770180548398044191ede4e835358ac..26a8deeaa1be7c4b95393884cde1a312923affeb 100644 (file)
@@ -22,13 +22,12 @@ vocabulary:
 The responders that you will be writing will require an instance of
 the httpd server to be running. It will be run in a background thread
 to enable the interactive development of the applications. The
-following is a simple function to start the server on port 8888 and
-restart it if an error occurs:
+following is a simple function to start the server on port 8888:
 
   USE: httpd
   USE: threads
-  : start-httpd [ 8888 httpd ] [ dup . flush [ start-httpd ] when* ] catch ;
-  [ start-httpd ] in-thread
+  : start-httpd [ 8888 httpd ] in-thread  ;
+  start-httpd
 
 Responders
 ==========