1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-16 20:00:59 -05:00

PM2 workaround

Sadly, no console logging for now.
This commit is contained in:
toast-ts 2023-08-06 20:47:44 +10:00
parent 36a817dce1
commit 50972d7466
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)})