Skip to content

Commit

Permalink
Disable Flow on Packager
Browse files Browse the repository at this point in the history
Reviewed By: frantic

Differential Revision: D2870105

fb-gh-sync-id: c95db83e40b3558c53614b08240a5361c14e0e6c
  • Loading branch information
martinbigio authored and facebook-github-bot-5 committed Jan 27, 2016
1 parent f2438b4 commit c56f280
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 219 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,6 @@ function setUpErrorHandler() {
ErrorUtils.setGlobalHandler(handleError);
}

function setUpFlowChecker() {
if (__DEV__) {
var checkFlowAtRuntime = require('checkFlowAtRuntime');
checkFlowAtRuntime();
}
}

/**
* Sets up a set of window environment wrappers that ensure that the
* BatchedBridge is flushed after each tick. In both the case of the
Expand Down Expand Up @@ -219,7 +212,6 @@ setUpMapAndSet();
setUpProduct();
setUpWebSockets();
setUpProfile();
setUpFlowChecker();
setUpNumber();
setUpDevTools();

Expand Down
59 changes: 0 additions & 59 deletions Libraries/JavaScriptAppEngine/Initialization/checkFlowAtRuntime.js

This file was deleted.

150 changes: 0 additions & 150 deletions local-cli/server/middleware/getFlowTypeCheckMiddleware.js

This file was deleted.

2 changes: 0 additions & 2 deletions local-cli/server/runServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ function runServer(args, config, readyCallback) {
.use(statusPageMiddleware)
.use(systraceProfileMiddleware)
.use(cpuProfilerMiddleware)
// Temporarily disable flow check until it's more stable
//.use(getFlowTypeCheckMiddleware(args))
.use(packagerServer.processRequest.bind(packagerServer));

args.projectRoots.forEach(root => app.use(connect.static(root)));
Expand Down

0 comments on commit c56f280

Please sign in to comment.