wallet-core/node_modules/vm-browserify/example/run/server.js
2017-05-03 15:35:00 +02:00

7 lines
220 B
JavaScript

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');