krish-mon 🚀
A lightweight CLI tool designed to restart your server efficiently. Unlike nodemon
, which focuses on file watching, krish-mon
is optimized for quick server restarts, making it ideal for development workflows where speed and simplicity are key.
Features ✨
- Lightweight: Minimal and fast, with no unnecessary overhead.
- Easy to Use: Just pass your server file as a parameter, and
krish-mon
will handle the rest. - Manual Restart: Type
rs
in the terminal to manually restart the server. - No Configuration: Zero setup required—just install and run.
Installation 📦
Install krish-mon
globally using npm:
npm install -g krish-mon
Usage 🛠️
Basic Usage
Run krish-mon
followed by the name of your server file (e.g., server.js
):
krish-mon server.js
Manual Restart
While krish-mon
is running, you can manually restart the server by typing rs
in the terminal and pressing Enter
.
Example 🚀
- Create a simple server file (
server.js
): - Start the server with
krish-mon
: - Make changes to your
server.js
file, andkrish-mon
will automatically restart the server. - To manually restart the server, type
rs
in the terminal and pressEnter
.
// server.js const http = require('http');
const server = http.createServer((req, res) => { res.end('Hello, world!'); });
server.listen(3000, () => { console.log('Server is running on http://localhost:3000'); });
krish-mon server.js
Why krish-mon
? 🤔
- Focused on Restarts: Unlike
nodemon
, which watches files and restarts on changes,krish-mon
is designed specifically for quick server restarts. - Lightweight: No unnecessary features—just what you need for efficient development.
- Simple: No configuration required. Just install, run, and focus on coding.
Keywords 🔑
restart server, simple restart, file watching, file monitoring, easy development, easy backend, simple restart
License 📄
This project is licensed under the ISC License. See the LICENSE file for details.
Contributing 🤝
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.
Support 💖
If you find this package useful, please consider giving it a ⭐️ on GitHub!
Happy coding! 🎉
</body> </html>