Question: How to launch a cached njs package
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I have a quick question for the esteemed panel
I have a set of nodejs packages which I would like to ensure are launched cached via a json ecosystem file, like one can launch from the commandline with 'npm run start:cached' - I am not sure if this is already happening or if other parameters needs to be set in the file. My apps entries currently look like this:
{
"name": "PackageName",
"script": "./dist/app.js",
"instances": 1,
"cwd": "/home/pi/appfolder"
},
Would be stellar if you can offer any guidance
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue mentions an ecosystem JSON file and the npm run start:cached command, but names no repository file, test, or concrete change. First clarify whether the desired outcome is documentation or a configuration behavior, then define how a successful cached launch should be verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs
- Domain
- cli, devops
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100