lib/tasks/serve.js
function createApps(callback) {
		if (mage.core.processManager.isMaster) {
			return callback();
		}

		try {
			mage.core.app.createApps();
		} catch (error) {
			return callback(error);
		}

		return callback();
	}
function createApps(callback) {
		if (mage.core.processManager.isMaster) {
			return callback();
		}

		try {
			mage.core.app.createApps();
		} catch (error) {
			return callback(error);
		}

		return callback();
	}
function createApps ( callback ) { if ( mage . core . processManager . isMaster ) { return callback ( ) ; } try { mage . core . app . createApps ( ) ; } catch ( error ) { return callback ( error ) ; } return callback ( ) ; }
Create the apps
Create the apps