Commit 6c0d33d 1 parent 16db656 commit 6c0d33d Copy full SHA for 6c0d33d
File tree 1 file changed +2
-2
lines changed
packages/@angular/cli/tasks
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -284,14 +284,14 @@ export default Task.extend({
284
284
opn ( serverAddress ) ;
285
285
}
286
286
} ) ;
287
- // Node 8.0 - 8.4 has a keepAliveTimeout bug which doesn't respect active connections.
287
+ // Node 8 has a keepAliveTimeout bug which doesn't respect active connections.
288
288
// Connections will end after ~5 seconds (arbitrary), often not letting the full download
289
289
// of large pieces of content, such as a vendor javascript file. This results in browsers
290
290
// throwing a "net::ERR_CONTENT_LENGTH_MISMATCH" error.
291
291
// https://github.com/angular/angular-cli/issues/7197
292
292
// https://github.com/nodejs/node/issues/13391
293
293
// https://github.com/nodejs/node/commit/2cb6f2b281eb96a7abe16d58af6ebc9ce23d2e96
294
- if ( / ^ v 8 .[ 0 - 4 ] .\d + $ / . test ( process . version ) ) {
294
+ if ( / ^ v 8 .\d .\d + $ / . test ( process . version ) ) {
295
295
httpServer . keepAliveTimeout = 30000 ; // 30 seconds
296
296
}
297
297
} )
You can’t perform that action at this time.
0 commit comments