Merge pull request #12413 from yasudacloud/fix/admin_hotreload

Fixed hot reload in admin
This commit is contained in:
Gustav Hansen 2022-02-10 10:09:33 +01:00 committed by GitHub
commit ca80f62084
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -262,7 +262,7 @@ async function watchAdmin({ plugins, dir, host, port, browser, options }) {
const compiler = webpack(webpackConfig);
const server = new WebpackDevServer(compiler.options.devServer, compiler);
const server = new WebpackDevServer(args.devServer, compiler);
const runServer = async () => {
console.log(chalk.green('Starting the development server...'));