1.0.9 • Published 8 years ago
am-simple-server v1.0.9
SimpleServer = require("../SimpleServer")
# set server web dir
SimpleServer::webDir = [ #default is "./web"
"./web"
"./test"
]
SimpleServer::watchPath = [ #default is "./web/index.html, ./web/client.js"
"./web/*.html"
"./test/"
]
SimpleServer::start(httpPort = 8080, webSocketPort = 8081) # default is 8080