Move Terminal to metro-core
Reviewed By: rafeca Differential Revision: D6532920 fbshipit-source-id: d1463aa0759a6b6d5cc46b05157518a4ce3eb9bf
This commit is contained in:
parent
5a1171ebfa
commit
29dafa1a86
|
@ -16,10 +16,7 @@ const log = require('../util/log').out('bundle');
|
||||||
* found when Flow v0.54 was deployed. To see the error delete this comment and
|
* found when Flow v0.54 was deployed. To see the error delete this comment and
|
||||||
* run Flow. */
|
* run Flow. */
|
||||||
const Server = require('metro/src/Server');
|
const Server = require('metro/src/Server');
|
||||||
/* $FlowFixMe(>=0.54.0 site=react_native_oss) This comment suppresses an error
|
const {Terminal} = require('metro-core');
|
||||||
* found when Flow v0.54 was deployed. To see the error delete this comment and
|
|
||||||
* run Flow. */
|
|
||||||
const Terminal = require('metro/src/lib/Terminal');
|
|
||||||
/* $FlowFixMe(>=0.54.0 site=react_native_oss) This comment suppresses an error
|
/* $FlowFixMe(>=0.54.0 site=react_native_oss) This comment suppresses an error
|
||||||
* found when Flow v0.54 was deployed. To see the error delete this comment and
|
* found when Flow v0.54 was deployed. To see the error delete this comment and
|
||||||
* run Flow. */
|
* run Flow. */
|
||||||
|
|
|
@ -13,17 +13,12 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
require('../../setupBabel')();
|
require('../../setupBabel')();
|
||||||
/* $FlowFixMe(>=0.54.0 site=react_native_oss) This comment suppresses an error
|
|
||||||
* found when Flow v0.54 was deployed. To see the error delete this comment and
|
|
||||||
* run Flow. */
|
|
||||||
const Metro = require('metro');
|
const Metro = require('metro');
|
||||||
|
|
||||||
const HmrServer = require('metro/src/HmrServer');
|
const HmrServer = require('metro/src/HmrServer');
|
||||||
|
|
||||||
/* $FlowFixMe(>=0.54.0 site=react_native_oss) This comment suppresses an error
|
const {Terminal} = require('metro-core');
|
||||||
* found when Flow v0.54 was deployed. To see the error delete this comment and
|
|
||||||
* run Flow. */
|
|
||||||
const Terminal = require('metro/src/lib/Terminal');
|
|
||||||
|
|
||||||
const attachWebsocketServer = require('./util/attachWebsocketServer');
|
const attachWebsocketServer = require('./util/attachWebsocketServer');
|
||||||
/* $FlowFixMe(>=0.54.0 site=react_native_oss) This comment suppresses an error
|
/* $FlowFixMe(>=0.54.0 site=react_native_oss) This comment suppresses an error
|
||||||
|
|
Loading…
Reference in New Issue