UNPKG
brush_cli
Version:
latest (0.0.2)
0.0.2
0.0.1
A tool for creating and developing cmos PC Framework project.
brush_cli
/
node_modules
/
vm-browserify
/
example
/
run
/
server.js
7 lines
(5 loc)
•
220 B
JavaScript
View Raw
1
2
3
4
5
6
7
var
ecstatic =
require
(
'ecstatic'
)(__dirname);
var
http =
require
(
'http'
); http.
createServer
(ecstatic).
listen
(
8000
);
console
.
log
(
'listening on :8000'
);
console
.
log
(
'# remember to run browserify entry.js -o bundle.js'
);