chokidar VS Nodemon.io

Compare chokidar vs Nodemon.io and see what are their differences.

chokidar

Minimal and efficient cross-platform file watching library (by paulmillr)

Nodemon.io

Monitor for any changes in your node.js application and automatically restart the server - perfect for development (by remy)
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
chokidar Nodemon.io
27 144
10,993 26,308
- -
8.7 8.0
3 days ago 6 days ago
JavaScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

chokidar

Posts with mentions or reviews of chokidar. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-08-08.
  • Migrating from chokidar 3.x to 4.x
    1 project | dev.to | 17 Sep 2024
    A big win recently in the e18e space is that chokidar published a new 4.x version!
  • Chokidar 4.0
    1 project | news.ycombinator.com | 12 Sep 2024
  • Boosting Rocket.Chat App Development with Hot Reload
    4 projects | dev.to | 8 Aug 2024
    I used the Chokidar library to watch for changes in the project directory. Chokidar detects file changes and triggers deployment commands automatically.
  • How to build a Web IDE like codesandbox?
    4 projects | dev.to | 16 Jun 2024
    We have a file explorer and a terminal, since files or directories could also be modified via terminal we need a way to communicate those changes to frontend. For this I made use of Chokidar, this package lets us setup file system watcher (nodemon also makes use of chokidar) and through following callbacks we can communicate file system changes.
  • The best testing setup for frontends, with Playwright and NextJS
    5 projects | dev.to | 18 Apr 2024
    For this, we'll use chokidar - more specifically the chokidar-cli package. chokidar is probably the most useful file watching library for the nodejs ecosystem and it will serve us well.
  • Why Does 'Is-Number' Package Have 59M Weekly Downloads?
    2 projects | news.ycombinator.com | 4 Mar 2024
    tailwindcss -> chokidar -> braces -> fill-range -> to-regex-range -> is-number

    is-number was first published 9 years ago, when these kind of micro-packages were in vogue. braces was added as a dependency to chokidar over 6 years ago [1]. And if it ain't broke, don't fix it. I don't think the average JS dev today is going out and pulling in these deps.

    [1] https://github.com/paulmillr/chokidar/commit/cbdf25563cfff7f...

  • How nodemon works?
    1 project | /r/node | 19 Aug 2023
    The watching magic is really in the https://www.npmjs.com/package/chokidar library
  • Dart 3.1 and a retrospective on functional style programming in Dart
    7 projects | news.ycombinator.com | 17 Aug 2023
    > It’s typical to listen to this stream of events and use chained if-else statements to determine an action based on the type of the events that occur.

    You'd think something like directory watching would have a clear set of events that would make nice objects with consistent meanings, but in my experience file watching gets crazy complicated, and can have all sorts of edge cases.

    Just take a looked here for all the various edge cases that crop up: https://github.com/paulmillr/chokidar/issues

    Then you have linux, windows, macos, and maybe you want to abstract over some underlying implementation like chokidar vs fb/watchman vs webpack/watchpack. Every new OS release could also cause things to change.

    So usually its going to be a bunch of if-else statements hacked together to get around edge cases, and have to be revisited later on.

    Any attempt to abstract this into objects, just obfuscates things. And OO forces you to name things, when in fact they might be un-nameable. `FileSystemModifyEventExceptWhenXAndYAndSometimesZ`.

    The behavior might rely on a series of events together, so the object hierarchy must be re-worked.

    OO has this rosy idea that we just have to come up with the perfect hierarchy, but things change in unexpected ways, and everything must have a descriptive noun.

  • Is there anyway to auto reload the browser page when using express?
    2 projects | /r/learnjavascript | 13 Jun 2023
    Next, you can use a library like chokidar to listen for changes in your source directory. Create a ws server, and whenever a file changes, send a message.
  • How does nodemon works under the hood?
    4 projects | /r/node | 14 Mar 2023
    As another has mentioned, nodemon uses chokidar under the hood for the actual file watching part.

Nodemon.io

Posts with mentions or reviews of Nodemon.io. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-10-19.
  • Build Your Own nodemon in Few Lines of Code
    2 projects | dev.to | 19 Oct 2024
    nodemon
  • Build a Real-time Notification System with Socket.IO and ReactJS
    7 projects | dev.to | 2 Oct 2024
    nodemon - automatically restarts our Node.js server whenever we make changes to the codebase
  • Node.js built-in alternative to nodemon
    1 project | dev.to | 31 Aug 2024
    The nodemon is a popular library for running and restarting Node.js processes on file changes. All LTS Node.js support an option --watch-path, which allows to replace nodemon:
  • How to Build an Application With Node.js
    4 projects | dev.to | 9 Aug 2024
    Or you can install nodemon for the same purpose. nodemon detects changes in the directory and restarts your application.
  • Using pm2 to Manage Node.js Applications
    1 project | dev.to | 2 Aug 2024
    When I first encountered Node.js and also learned how to use Linux, nodemon was a library that I often used to develop applications, as it would automatically "reload" the new code upon saving without needing to manually "kill" and restart the application, a feature now commonly referred to as "hot reload."
  • How 'npm create vue@latest' works
    7 projects | dev.to | 28 May 2024
    But what is a symbolic link exactly? It comes from programming and I often liken symbolic links to basic redirects but with greater stability. However, not every package needs a place in .bin. Packages like nodemon, webpack, gulp, eslint and create-vue are found in .bin because they need to be executed. On the other hand, packages like animate.css, swiper and express operate at the application layer, so you won't find them in .bin after installation. How does npm determine whether a package is executable or not? It's simple: by using the bin property in your package.json to specify the executable path. If your package is executable, you can set it accordingly. Let's take a look at prettier's package.json file
  • What's New in Node.js 22
    4 projects | dev.to | 21 May 2024
    With the release of Node.js 22, this feature has been stabilized, so this warning no longer appears. While you could previously use a third-party tool like nodemon, this update removes the need for a dependency by adding it directly to Node.js core.
  • Full Stack Web Development Concept map
    11 projects | dev.to | 23 Mar 2024
    nodemon - enables automatic reload of your server after code change docs
  • Devlog Week 3: 4 - 10 December 2023
    4 projects | /r/IceTheCoder | 10 Dec 2023
    Then, install nodemon (in the VSCode terminal also), which, to my understanding, automatically refreshes the server you'll be sending requests to, whenever you make a change. Using plain node.js, you'd have to manually stop and restart the server after every change.
  • Say Goodbye to Docker Volumes 👋
    2 projects | dev.to | 27 Nov 2023
    That's already pretty good, but as you already know it's a PITA to work with this during development. You will have to rebuild your Docker images whenever you change your code, even though your apps will probably support hot-reloading out of the box (or with something like Nodemon if not).

What are some alternatives?

When comparing chokidar and Nodemon.io you can also consider the following projects:

Filehound - Flexible and fluent interface for searching the file system

PM2 - Node.js Production Process Manager with a built-in Load Balancer.

fs-extra - Node.js: extra methods for the fs object like copy(), remove(), mkdirs()

supervisor

Watch-fn

forever - A simple CLI tool for ensuring that a given script runs continuously (i.e. forever)

globby - User-friendly glob matching

supervisor - Supervisor process control system for Unix (supervisord)

graceful-fs - fs with incremental backoff on EMFILE

Phusion Passenger - A fast and robust web server and application server for Ruby, Python and Node.js

filenamify - Convert a string to a valid safe filename

naught - Zero downtime deployment for your Node.js server using builtin cluster API

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you konow that JavaScript is
the 3rd most popular programming language
based on number of metions?