7 lines
220 B
JavaScript
Raw Permalink Normal View History

2025-06-21 23:30:33 +03: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');