Browse Source

chore: load tsx via import flag

helium3@sina.com 4 giờ trước cách đây
mục cha
commit
dcd7a9036b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      ecosystem.config.js

+ 1 - 1
ecosystem.config.js

@@ -3,7 +3,7 @@ module.exports = {
     {
       name: 'pacifica-strategy',
       script: 'node',
-      args: ['--loader', 'tsx', './scripts/run-modular-strategy.ts'],
+      args: ['--import', 'tsx', './scripts/run-modular-strategy.ts'],
       cwd: '/root/pacifica',
       instances: 1,
       autorestart: true,