Fix issue where TypeScript errors in scripts/ folder weren't picked up
Summary: This diff fixes an issue where the `scripts` folder wasn't automatically type checked by TypeScript, and as a result `yarn flipper-server` was broken atm. Reviewed By: nikoant Differential Revision: D33348825 fbshipit-source-id: 059a834cacb881d45ae4b0933af3f1feabb90182
This commit is contained in:
committed by
Facebook GitHub Bot
parent
863727cbd8
commit
dda68de445
@@ -16,11 +16,9 @@ import {
|
||||
prepareDefaultPlugins,
|
||||
} from './build-utils';
|
||||
import Watchman from './watchman';
|
||||
import {serverStaticDir} from './paths';
|
||||
import isFB from './isFB';
|
||||
import yargs from 'yargs';
|
||||
import ensurePluginFoldersWatchable from './ensurePluginFoldersWatchable';
|
||||
import {remove} from 'fs-extra';
|
||||
|
||||
const argv = yargs
|
||||
.usage('yarn flipper-server [args]')
|
||||
@@ -179,8 +177,6 @@ async function startWatchChanges() {
|
||||
}
|
||||
|
||||
(async () => {
|
||||
await remove(serverStaticDir);
|
||||
|
||||
if (dotenv && dotenv.parsed) {
|
||||
console.log('✅ Loaded env vars from .env file: ', dotenv.parsed);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user