smartssr/scripts/serve.ts

9 lines
240 B
TypeScript
Raw Normal View History

2020-08-06 15:13:38 +00:00
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();