smartssr/scripts/serve.ts
2020-08-06 15:13:38 +00:00

9 lines
240 B
TypeScript

import * as smartserve from '@pushrocks/smartserve';
import * as path from 'path';
const smartserveInstance = new smartserve.SmartServe({
injectReload: true,
serveDir: path.join(__dirname, '../.nogit/')
});
smartserveInstance.start();