Fixed reloading of browser when developing
This commit is contained in:
@@ -23,6 +23,7 @@ export class StartPagePlugin implements IPluginBuilder {
|
||||
${links.join("")}
|
||||
`;
|
||||
htmlTemplate = htmlTemplate.replace("{{content}}", html);
|
||||
console.log("Generating index", this.options.indexTemplatePath);
|
||||
writeTextAsFile(
|
||||
`${builderContext.outputDirectory}/index.html`,
|
||||
htmlTemplate
|
||||
|
||||
Reference in New Issue
Block a user