Andrew Bradley

Results 546 comments of Andrew Bradley
trafficstars

Another wrinkle is that, today, `--loader ts-node/esm` runs in the main thread, so we can automatically install our CommonJS loader at the same time. On modern node, `--loader ts-node/esm` is...

I've been revamping ts-node's documentation. It's still very much a work-in-progress, but I've added a "Recipes" section inspired by yours and added a page for Ava. https://typestrong.org/ts-node/docs/recipes/ava I realize this...

@vjpr You want to combine ts-node's `swc` mode with the ESM loader?

Just commenting to say that I'm following along with issues like this across the ecosystem, and am always open to discussing ways that tooling and loader authors can shim our...

That is actually possible today, with, for example: `node --loader @cspotcode/multiloader/compose?yaml-loader,ts-node/esm` The runtime API I described in my previous comment is not yet implemented, but composing multiple loaders at startup...

Hmm, I'm looking at your code above (https://github.com/gulpjs/rechoir/issues/43#issuecomment-946334346) and assuming that you'd replace the `child_process.spawn()` with `await process.loaderApi.add()`; is that not the case? As far as I know, when you...

Ah I see. I think it still might have benefits for this situation: > Additionally, multiple ESM loaders will cause multiple child processes to be spawned (which then reloads all...

Nice, yeah if we want to collaborate on such a runtime API, I think that'd be great. I was toying with adding this to my multiloader thing but I don't...

PowerShell Core natively includes `Register-ArgumentCompleter` to register completions for external binaries. https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/register-argumentcompleter?view=powershell-6 It can return an array of `CompletionResult` instances, which describe the completion text, label text, description, etc. https://docs.microsoft.com/en-us/dotnet/api/system.management.automation.completionresult?view=powershellsdk-1.1.0...

This is a deno issue, not dwm. You can prove this for yourself with these reproduction steps. https://github.com/denoland/deno/issues/21091#issuecomment-2401082661