Open
Description
Hey @egoist sorry to be a pain but I am trying to unserstand what you are doing here and can not figure it out at all, could you explain this block:
const mfs = settings.fileSystem;
const file = path.join(dev.output.path, 'index.html');
settings.waitUntilValid();
express proxy
app.get('*', (req, res) => {
settings.waitUntilValid(() => {
const html = mfs.readFileSync(file);
res.end(html);
});
});
Cheers.
Metadata
Metadata
Assignees
Labels
No labels