Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

krish-mon

"A lightweight CLI tool designed to restart your server efficiently. krish-mon` is optimized for quick server restarts, making it ideal for development workflows where speed and simplicity are key."

restart server, simple restart, file watching, file monitoring, easy development, easy backend, lightweight, CLI tool

readme

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body>

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 🚀

  1. Create a simple server file (server.js):
  2. // 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'); });

  3. Start the server with krish-mon:
  4. krish-mon server.js
  5. Make changes to your server.js file, and krish-mon will automatically restart the server.
  6. To manually restart the server, type rs in the terminal and press Enter.

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>