1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 08:20:58 -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 8bb1216c99
commit 1236a6b477
3 changed files with 2 additions and 3 deletions

1
.gitignore vendored
View File

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

View File

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