"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// tslint:disable-next-line:no-var-requires
const { getPortPromise } = require('portfinder');
function findOpenPort() {
    return getPortPromise()
        .then(parseFloat)
        .catch(() => findOpenPort());
}
exports.findOpenPort = findOpenPort;
//# sourceMappingURL=findOpenPort.js.map