mirror of
https://github.com/strapi/strapi.git
synced 2025-09-21 14:31:16 +00:00
Merge pull request #12413 from yasudacloud/fix/admin_hotreload
Fixed hot reload in admin
This commit is contained in:
commit
ca80f62084
@ -262,7 +262,7 @@ async function watchAdmin({ plugins, dir, host, port, browser, options }) {
|
|||||||
|
|
||||||
const compiler = webpack(webpackConfig);
|
const compiler = webpack(webpackConfig);
|
||||||
|
|
||||||
const server = new WebpackDevServer(compiler.options.devServer, compiler);
|
const server = new WebpackDevServer(args.devServer, compiler);
|
||||||
|
|
||||||
const runServer = async () => {
|
const runServer = async () => {
|
||||||
console.log(chalk.green('Starting the development server...'));
|
console.log(chalk.green('Starting the development server...'));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user