diff --git a/bin/dev.cmd b/bin/dev.cmd index 077b57ae..cec553be 100644 --- a/bin/dev.cmd +++ b/bin/dev.cmd @@ -1,3 +1,3 @@ @echo off -node "%~dp0\dev" %* \ No newline at end of file +node --loader ts-node/esm --no-warnings=ExperimentalWarning "%~dp0\dev" %* diff --git a/bin/dev.js b/bin/dev.js index 515b0121..6c607734 100755 --- a/bin/dev.js +++ b/bin/dev.js @@ -1,4 +1,4 @@ -#!/usr/bin/env ts-node +#!/usr/bin/env -S node --loader ts-node/esm --no-warnings=ExperimentalWarning // eslint-disable-next-line node/shebang async function main() { const {execute} = await import('@oclif/core')