mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-24 22:34:11 +08:00
27 lines
1.1 KiB
Markdown
27 lines
1.1 KiB
Markdown
# Nodemon (JavaScript & TypeScript)
|
|
|
|
Tired of manually restarting your bot? Nodemon will do it by itself.
|
|
|
|
Nodemon is a tool that helps develop node.js based applications by automatically restarting the node application when file changes in the directory are detected. Nodemon does not require any additional changes to your code or method of development.
|
|
|
|
This egg is designed to run any generic Javascript application, allowing users to pull their own JavaScript or TypeScript source code from a Github repository.
|
|
|
|
There is an option to allow a user to upload their own files to run a bot.
|
|
|
|
The startup configs and commands may need changing to actually function properly.
|
|
|
|
## Configuration
|
|
|
|
The server will be stuck as `starting` until the egg Start Configuration is modified. You have to edit the text to match something your bot will print for Pterodactyl panel to detect it as running.
|
|
![image](https://user-images.githubusercontent.com/10975908/126516861-c5cb4630-9f25-405c-8199-97bf5ec15a7f.png)
|
|
|
|
You can use arrays to have multiple different values when different bots are being used
|
|
|
|
```json
|
|
{
|
|
"done":[
|
|
"change this text 1",
|
|
"change this text 2"
|
|
]
|
|
}
|