mirror of https://github.com/status-im/metro.git
Remove socket interface from dependencies command
Reviewed By: davidaurelio Differential Revision: D3136438 fb-gh-sync-id: 51fce2caf60fdf32a8cba180c79b1996834cda6e fbshipit-source-id: 51fce2caf60fdf32a8cba180c79b1996834cda6e
This commit is contained in:
parent
f9a9cd6f25
commit
1d9df442a4
|
@ -64,6 +64,15 @@ exports.getDependencies = function(options, bundleOptions) {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
exports.getOrderedDependencyPaths = function(options, bundleOptions) {
|
||||||
|
var server = createNonPersistentServer(options);
|
||||||
|
return server.getOrderedDependencyPaths(bundleOptions)
|
||||||
|
.then(function(paths) {
|
||||||
|
server.end();
|
||||||
|
return paths;
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
exports.createClientFor = function(options) {
|
exports.createClientFor = function(options) {
|
||||||
if (options.verbose) {
|
if (options.verbose) {
|
||||||
enableDebug();
|
enableDebug();
|
||||||
|
|
Loading…
Reference in New Issue