Server failing on start up

Summary: @​public
When doing node <script> some es6 features like const seem to work. But when we extracted some of them into other files and require them through babels require infra it started failing because the paths where those files are located where not on the `only` whitelist.

Reviewed By: @vjeux

Differential Revision: D2525557

fb-gh-sync-id: 79752c4f9b8ff2d20f73cfe27d6a2f3706959d95
This commit is contained in:
Martín Bigio 2015-10-08 21:07:08 -07:00 committed by facebook-github-bot-9
parent 32b62ef055
commit 998ab1b1a4
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,10 @@
*/
'use strict';
require('../babelRegisterOnly')([
/packager\/[^\/]*/
]);
const fs = require('fs');
const path = require('path');
const childProcess = require('child_process');