Add more debugging for plugin dependency installation.

This commit is contained in:
Dannon Baker
2020-02-18 10:35:34 -05:00
parent ccd954ee31
commit 4fe1f05e8d
+2 -1
View File
@@ -77,8 +77,9 @@ function buildPlugins(callback){
glob(build_dir, {}, (er, files) => {
files.map( file => {
const f = path.join(process.cwd(), file).slice(0, -12);
console.log("Installing Dependencies for", f);
spawn('yarn', ['install', '--network-timeout', '300000', '--check-files'], { cwd: f, stdio: 'inherit' });
console.log("Building ", f);
spawn('yarn', [], { cwd: f, stdio: 'inherit' });
spawn('yarn', ['build'], { cwd: f, stdio: 'inherit' });
});
});