File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 281
281
"prebenchmark" : " node-gyp rebuild -C benchmark" ,
282
282
"benchmark" : " node benchmark" ,
283
283
"pretest" : " node-gyp rebuild -C test" ,
284
- "test" : " node test" ,
284
+ "test" : " node --experimental-worker test" ,
285
285
"predev" : " node-gyp rebuild -C test --debug" ,
286
286
"dev" : " node test" ,
287
287
"predev:incremental" : " node-gyp configure build -C test --debug" ,
Original file line number Diff line number Diff line change 2
2
const child_process = require ( 'child_process' ) ;
3
3
4
4
const majorNodeVersion = process . versions . node . split ( '.' ) [ 0 ] ;
5
- defaultArgs = [ '--expose-gc' , '--no-concurrent-array-buffer-freeing' ] ;
5
+ defaultArgs = [
6
+ '--expose-gc' ,
7
+ '--experimental-worker' ,
8
+ '--no-concurrent-array-buffer-freeing'
9
+ ] ;
6
10
if ( majorNodeVersion >= 14 ) {
7
11
defaultArgs . push ( '--no-concurrent-array-buffer-sweeping' ) ;
8
12
}
You can’t perform that action at this time.
0 commit comments