We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85e8151 commit 29be9d6Copy full SHA for 29be9d6
packages/react-dev-utils/README.md
@@ -142,6 +142,22 @@ compiler.plugin('done', function(stats) {
142
});
143
```
144
145
+#### `getProcessForPort(port: number): string`
146
+
147
+Finds the currently running process(es) on `port`.
148
+Returns a string containing the name and directory, e.g.,
149
150
+```
151
+create-react-app
152
+in /Users/developer/create-react-app
153
154
155
+```js
156
+var getProcessForPort = require('react-dev-utils/getProcessForPort');
157
158
+getProcessForPort(3000);
159
160
161
#### `openBrowser(url: string): boolean`
162
163
Attempts to open the browser with a given URL.
0 commit comments