Files
meteor/tools/index.js
Matheus Castro 519871dfc4 Remove Fibers from meteor-tools:
- Completely remove promise overload from code.
- Bump dev_bundle version and remove fibers/meteor-promise dependency.
- Bump meteor package promise version.
- Remove some tests that are not needed anymore.
2022-12-25 23:24:46 -03:00

22 lines
640 B
JavaScript

require("./cli/dev-bundle-bin-commands.js").then(function (child) {
if (! child) {
// Use process.nextTick here to prevent the Promise from swallowing
// errors from the rest of the setup code.
process.nextTick(continueSetup);
}
// If we spawned a process to handle a dev_bundle/bin command like
// `meteor npm` or `meteor node`, then don't run any other tool code.
}, function (error) {
process.nextTick(function () {
throw error;
});
});
function continueSetup() {
// Set up the Babel transpiler
require('./tool-env/install-babel.js');
// Run the Meteor command line tool
require('./cli/main.js');
}