fmon

1.0.0 • Public • Published

FMON-LOGO

FMON (Fast Monitoring & Optimized Notifier)

FMON (Fast Monitoring & Optimized Notifier) is a lightweight and efficient file-watching tool that automatically restarts your Node.js application when changes are detected. Designed for seamless development, FMON ensures real-time monitoring of files and directories, providing instant reloads while maintaining performance. With built-in optimizations and event-driven notifications, FMON keeps your workflow smooth and superfast 🚀

Installation

- npm

npm install -g fmon
  • yarn
yarn add -g fmon
  • install as a development dependency
npm install --save-dev fmon

Usage

fmon monitors your application for file changes and automatically restarts it, ensuring a seamless development experience. It accepts all arguments that your application normally requires, making it easy to integrate into your workflow.

Basic Syntax

fmon [options] [script.js] [args]

[script.js] → The entry file of your Node.js application.

[args] → Optional arguments that your script may require.

Options

Option Description
-c, --clear Clears the console before restarting.
-w, --watch <path> Watches a directory or file for changes.
-i, --ignore <path> Ignores specific files or directories.
-V, --verbose Shows detailed information on what causes restarts.

Example Usage

# Watch and restart when app.js changes
fmon app.js

# Watch a specific directory
fmon -w src app.js

# ignore a specific directory
fmon -w src app.js

# Clear the console before restart
fmon -c app.js

# Run in verbose mode for debugging
fmon -V app.js

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For questions or contributions, contact: avinashtare.work@gmail.com

Author

卐 🕉 Avinash Tare 🕉 卐

Package Sidebar

Install

npm i fmon

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

97.5 kB

Total Files

12

Last publish

Collaborators

  • avinashtare