katoikia-app/web-ui/web-react/node_modules/vm-browserify/example/run/server.js

7 lines
220 B
JavaScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
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');