Print log.
This commit is contained in:
@@ -32,6 +32,8 @@ const PRODUCTION_REGISTRY_URL = 'https://blocks-registery.axe-web.com';
|
|||||||
const {isDev, modulesPath, projectPath, developmentBlockName} = getConfigs();
|
const {isDev, modulesPath, projectPath, developmentBlockName} = getConfigs();
|
||||||
const blocksRegistry = isDev ? 'http://localhost:3020' : PRODUCTION_REGISTRY_URL;
|
const blocksRegistry = isDev ? 'http://localhost:3020' : PRODUCTION_REGISTRY_URL;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Init server
|
* Init server
|
||||||
*/
|
*/
|
||||||
@@ -401,3 +403,13 @@ function handlebarLayoutsPath() {
|
|||||||
return path.join(...arguments)
|
return path.join(...arguments)
|
||||||
.replace(/\\/g, '/'); // Windows path issue. Fix all "\" for Handlebars.
|
.replace(/\\/g, '/'); // Windows path issue. Fix all "\" for Handlebars.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log('----------------------------------\n')
|
||||||
|
console.log('Local Details', process.versions, '\n');
|
||||||
|
console.log('Configs', {
|
||||||
|
isDev,
|
||||||
|
modulesPath,
|
||||||
|
projectPath,
|
||||||
|
developmentBlockName
|
||||||
|
});
|
||||||
|
console.log('\n----------------------------------\n')
|
||||||
|
|||||||
Reference in New Issue
Block a user