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 🚀
- npm
npm install -g fmon
- yarn
yarn add -g fmon
- install as a development dependency
npm install --save-dev fmon
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.
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. |
# 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
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or contributions, contact: avinashtare.work@gmail.com
卐 🕉 Avinash Tare 🕉 卐