This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
tstatic/src/index.ts
2017-02-17 21:22:38 +00:00

12 lines
316 B
TypeScript

import { docopt } from 'docopt';
import createServer from './server';
import getArgs from './cli';
console.log("Starting Server...");
const ARGS = getArgs();
const app = createServer(ARGS);
const server = app.listen(ARGS.port, function () {
console.log("Server started on port " + server.address().port);
});