Refactor plugins compilation script

Summary:
Refactored plugins compilation script by splitting it into 3 scripts: 1) search plugins 2) compile plugins 3) watch plugins.

No functional changes in this review, it's just preparation for further changes.

Reviewed By: passy

Differential Revision: D20860443

fbshipit-source-id: 02900430199875574b992e597d09b82d0d7f32ef
This commit is contained in:
Anton Nikolaev
2020-04-14 07:10:38 -07:00
committed by Facebook GitHub Bot
parent 61a889a385
commit cc96fc984c
7 changed files with 183 additions and 145 deletions

View File

@@ -15,7 +15,7 @@ import path from 'path';
import fs from 'fs-extra';
import {spawn} from 'promisify-child-process';
import recursiveReaddir from 'recursive-readdir';
import getWatchFolders from '../static/get-watch-folders';
import getWatchFolders from '../static/getWatchFolders';
import getAppWatchFolders from './get-app-watch-folders';
import {
appDir,

View File

@@ -9,7 +9,7 @@
import fs from 'fs-extra';
import path from 'path';
import getWatchFolders from '../static/get-watch-folders';
import getWatchFolders from '../static/getWatchFolders';
import {appDir, pluginsDir} from './paths';
/**