Closed devoncarew closed 9 years ago
Here's an api for a similar server:
MicroServer server = await MicroServer.start(path: 'build/web', port: 8888);
print('serving ${server.path} from ${server.urlBase}');
await server.destroy();
Love it. Will merge as soon as it's mergeable.
Perhaps make this consumable as a library as well? So, most of the code in lib/, with a small executable (parsing args) in bin/.