import { responseCreator } from '../pageHelpers';
import pageDefinition from './page-definition.json';

import TsBundle from '../../components/TypeScript';

export default function createTsPageHandler({ request, clientConfig }) {
    return (req, res, next) => {
        responseCreator({
            req,
            request,
            pageDefinition,
            clientConfig,
            pathName: '/',
            component: TsBundle
        }).then(({
            htmlBody
        }) => {
            res.send(htmlBody);
        }, next);
    };
}

@@ -50,16 +50,21 @@
 %0Aimport 
+* as 
 pageDefi

Fix livereload