We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
webpack-dev-middleware serve the html page only when the client.js is compiled and is valid
Sorry, something went wrong.
No branches or pull requests
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:
Cheers.
The text was updated successfully, but these errors were encountered: