UNPKG

750 BTypeScriptView Raw
1/**
2 * Copyright (c) Facebook, Inc. and its affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 *
7 */
8/**
9 * Indicates whether or not the packager is running. It returns a promise that
10 * returns one of these possible values:
11 * - `running`: the packager is running
12 * - `not_running`: the packager nor any process is running on the expected port.
13 * - `unrecognized`: one other process is running on the port we expect the packager to be running.
14 */
15declare function isPackagerRunning(packagerPort?: string | number): Promise<'running' | 'not_running' | 'unrecognized'>;
16export default isPackagerRunning;
17//# sourceMappingURL=isPackagerRunning.d.ts.map
\No newline at end of file