var http = require("http")
var server = http.createServer(function(req,res){
console.log("hello")
console.log(2222)
res.setHeader("Content-Type","text/html","charset=gbk")
res.write("<h1>jirengu</h1>")
console.log(__dirname)
res.end()
})
server.listen(8080)
it takes a refresh to output hello 2222 on the terminal. Why?