Skip to content

Commit 0f86be9

Browse files
F1LT3RZemnmez
F1LT3R
authored andcommitted
Graceful creat-react-app server process wind down.
1 parent 1dbcd13 commit 0f86be9

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

packages/react-scripts/package.json

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
{
22
"name": "@react-workspaces/react-scripts",
3-
<<<<<<< HEAD
43
"version": "3.3.0-alpha-08",
5-
=======
6-
"version": "3.0.0-alpha-04",
7-
>>>>>>> Remove duplicates from babel-load dependency array.
8-
"description": "Configuration and scripts for Create React App.",
4+
"description": "React + Yarn Workspaces Configuration and scripts for Create React App.",
95
"repository": {
106
"type": "git",
117
"url": "https://github.com/react-workspaces/create-react-app.git",

packages/react-scripts/scripts/start.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -164,14 +164,14 @@ checkBrowsers(paths.appPath, isInteractive)
164164
process.exit();
165165
});
166166
});
167-
167+
168168
// We need this to close the WebPack Server
169169
// Thanks @1player! https://github.com/facebook/create-react-app/issues/1753#issuecomment-329972786
170-
process.stdin.on('end', function() {
170+
process.stdin.on("end", function() {
171171
devServer.close();
172172
process.exit();
173173
});
174-
174+
175175
process.stdin.resume();
176176
})
177177
.catch(err => {

0 commit comments

Comments
 (0)