Upload Kmake

This commit is contained in:
Gorochu
2026-05-26 23:36:42 -07:00
parent ba051b2f74
commit 555ec72358
41615 changed files with 13344630 additions and 1 deletions

2
test/fixtures/watch-mode/inspect.js vendored Normal file
View File

@ -0,0 +1,2 @@
console.log('safe to debug now');
setInterval(() => {}, 1000);

View File

@ -0,0 +1,2 @@
console.log('pid is', process.pid);
setInterval(() => {}, 1000);

12
test/fixtures/watch-mode/ipc.js vendored Normal file
View File

@ -0,0 +1,12 @@
const path = require('node:path');
const url = require('node:url');
const fs = require('node:fs');
const tmpdir = require('../../common/tmpdir');
const tmpfile = tmpdir.resolve('file');
fs.writeFileSync(tmpfile, '');
process.send({ 'watch:require': [path.resolve(__filename)] });
process.send({ 'watch:import': [url.pathToFileURL(path.resolve(__filename)).toString()] });
process.send({ 'watch:import': [url.pathToFileURL(tmpfile).toString()] });
process.send({ 'watch:import': [new URL('http://invalid.com').toString()] });