const http = require('http');
const serveHandler = require('serve-handler');
const open = require('open');

run();
function run(){
  const server = http.createServer((request, response) => {
    return serveHandler(request, response);
  })   
  server.listen(3000, () => {
    console.log('Dev Server Running at http://localhost:3000');
    open('http://localhost:3000/playground');
    open('http://localhost:3000/playground/index2.html');
  })
}
