Answer the question
In order to leave comments, you need to log in
How to define OS in package.json?
How to define OS in package.json?
I run the application on VDS like this: $ pm2 start $PWD/server/app.js --watch $PWD
But I work at home on WINDOWS 7. And in package.json we have an entry:
"scripts": {
"start": "pm2 start ./server/app.js --watch ."
}
Answer the question
In order to leave comments, you need to log in
Why does package.json actually do this (launching the application) at all?
There are other software and/or hands for this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question