Merge branch 'master' into dependabot/npm_and_yarn/glob-7.2.0

This commit is contained in:
Alexandre BODIN 2022-01-19 11:07:48 +01:00 committed by GitHub
commit 7089fcfe85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ module.exports = async function({ build, watchAdmin, polling, browser }) {
const logger = createLogger(config.logger, {});
try {
if (cluster.isMaster) {
if (cluster.isMaster || cluster.isPrimary) {
const serveAdminPanel = getOr(true, 'admin.serveAdminPanel')(config);
const buildExists = fs.existsSync(path.join(dir, 'build'));