mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
docs(config): update demo for config, add more logs for app-scripts
closes #9413
This commit is contained in:
@ -196,10 +196,13 @@ export function runAppScripts(folderInfo: any, sassConfigPath: string, appEntryP
|
||||
scriptArgs.push('--debug');
|
||||
}
|
||||
|
||||
console.log('$ ionic-app-scripts', scriptArgs.join(' '));
|
||||
|
||||
try {
|
||||
const scriptsCmd = spawnSync('ionic-app-scripts', scriptArgs);
|
||||
|
||||
if (scriptsCmd.status !== 0) {
|
||||
console.log(scriptsCmd.stderr.toString());
|
||||
return Promise.reject(scriptsCmd.stderr.toString());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user