File tree 3 files changed +10
-2
lines changed
3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -185,4 +185,12 @@ function startServer() {
185
185
app . listen ( port , host , 0 ) ;
186
186
}
187
187
188
+ // HACK: There is an EPIPE error thrown when reloading a page. This only seems to happen on Windows
189
+ // and it's unclear why it happens. Suppressing the error here since this is just the demo server.
190
+ process . on ( 'uncaughtException' , ( error ) => {
191
+ if ( process . platform === 'win32' && error . message === 'read EPIPE' ) {
192
+ return ;
193
+ }
194
+ } ) ;
195
+
188
196
module . exports = startServer ;
Original file line number Diff line number Diff line change 77
77
"deep-equal" : " ^2.0.5" ,
78
78
"eslint" : " ^8.56.0" ,
79
79
"eslint-plugin-jsdoc" : " ^46.9.1" ,
80
- "express" : " ^4.17.1 " ,
80
+ "express" : " ^4.19.2 " ,
81
81
"express-ws" : " ^5.0.2" ,
82
82
"glob" : " ^7.2.0" ,
83
83
"jsdom" : " ^18.0.1" ,
Original file line number Diff line number Diff line change @@ -1951,7 +1951,7 @@ express-ws@^5.0.2:
1951
1951
dependencies :
1952
1952
ws "^7.4.6"
1953
1953
1954
- express@^4.17.1 :
1954
+ express@^4.19.2 :
1955
1955
version "4.19.2"
1956
1956
resolved "https://registry.yarnpkg.com/express/-/express-4.19.2.tgz#e25437827a3aa7f2a827bc8171bbbb664a356465"
1957
1957
integrity sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==
You can’t perform that action at this time.
0 commit comments