This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task serve << { | |
SimpleHttpFileServerFactory factory = new SimpleHttpFileServerFactory() | |
HttpFileServer server = factory.start(new File("."), 8085) | |
println("Server Started on 8085 ctrc+c to kill it") | |
java.lang.Thread.sleep(Long.MAX_VALUE); | |
} |