1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 12:21:00 -05:00

PM2 workaround

Sadly, no console logging for now.
This commit is contained in:
Toast 2023-08-06 20:47:44 +10:00
parent 0a78a6c565
commit c759f26632
3 changed files with 2 additions and 3 deletions

1
.gitignore vendored
View File

@ -2,6 +2,7 @@
# Yarn stuff
.yarn/cache/
.yarn/unplugged/
.yarn/sdks/
.yarn/install-state.gz
# NodeJS stuff
.ncurc.json

View File

@ -8,9 +8,6 @@
"type": "git",
"url": "git+https://github.com/AnxietyisReal/Daggerbot-TS.git"
},
"scripts": {
"start": "yarn node ."
},
"author": "Toast",
"license": "ISC",
"os": [

1
startWithYarn.cjs Normal file
View File

@ -0,0 +1 @@
require('node:child_process').exec('yarn node dist/index.js', {windowsHide:true}, (error,stdout)=>{console.log(stdout); console.error(error)})