chokidar VS Windows Terminal

Compare chokidar vs Windows Terminal and see what are their differences.

chokidar

Minimal and efficient cross-platform file watching library (by paulmillr)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
chokidar Windows Terminal
23 506
10,542 93,467
- 0.6%
5.0 9.7
about 1 month ago 4 days ago
JavaScript C++
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-04-18.
  • 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.
  • Turbowatch – Extremely fast alternative to Nodemon
    7 projects | /r/javascript | 13 Mar 2023
    At the end of the day, ironically, Nodemon does not even implement file watching functionality. It is a thin wrapper around chokidar (see source code), and the way it is being used is neither efficient (CPU and your battery usage) or performant. So it is not a false argument, just perhaps not the most appealing.
  • dúvida provavelmente idiota
    1 project | /r/brdev | 23 Jan 2023
  • How is React's Hot Module Reloading implemented (at a medium-high level of detail)?
    3 projects | /r/reactjs | 15 Nov 2022
    for file watching, it might use something similar to https://www.npmjs.com/package/chokidar
  • Setup TailwindCSS, postcss and esbuild on Rails 7
    12 projects | dev.to | 12 Oct 2022
    First, we need to install chokidar to enable watching and automatically refreshing our files.

Windows Terminal

Posts with mentions or reviews of Windows Terminal. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-12.
  • Deleting Software I Wrote Upon Leaving Employment of a Company
    1 project | news.ycombinator.com | 15 Mar 2024
    > convince management of the value

    This presupposes that such convincing is even possible. Many, many companies have leadership that are simply terrible at identifying value. If you've never been part of a majority of developers advocating for, if not outright begging for, some huge ROI initiative to get the green light, you are very fortunate.

    There are great counterexamples, like Valve, which is known for giving developers an extreme degree of autonomy, and they benefit greatly from that approach. For each Valve, though, there are dozens of companies that manage to succeed despite themselves.

    Take Microsoft, for example. One tiny, yet representative, example: the way the Windows Terminal team handled a suggestion from Casey Muratori to take their software from abysmally slow to lightning fast:

    https://github.com/microsoft/terminal/issues/10362

    A quote from one of the Terminal developers, dismissing the suggestion:

    > I believe what you’re doing is describing something that might be considered an entire doctoral research project in performant terminal emulation as “extremely simple” somewhat combatively…

    Just how difficult was such an endeavor in actuality? Well, given that Casey implemented his own terminal emulator from scratch and incorporated the functionality he was proposing in a mere weekend... not a whole lot. Relatively minor effort for a huge return on investment. It took Casey explaining the concepts, then providing a working proof of concept, and finally a bunch of backlash online towards the Terminal team to get them to do the right thing for themselves and their users.

  • A glimpse into the universe where Windows died with the 1980s
    2 projects | news.ycombinator.com | 12 Mar 2024
    At this point ConHost.exe is open source [0] so it is maybe not a stretch to expect Microsoft to open source CMD.EXE at some point.

    Though with PowerShell being cross-platform and already open source, I personally don't think there's enough to gain in some sort of better open source CMD.EXE fork. I'd be interested in being proved wrong on that, but I'm also happy enough with PowerShell these days I'm not in a hurry to return to CMD.EXE.

    [0] https://github.com/microsoft/terminal/tree/main/src/host

  • Windows 11 looks to be getting a key Linux tool added in the future
    1 project | news.ycombinator.com | 2 Feb 2024
    "Users of Linux and macOS may well be familiar with the sudo command, used regularly in the terminal, and it looks like Windows may finally be getting its own version."

    More Linux tools are coming to Windows, especially Windows Server because the tools are good and they make it easier to administer a Windows Server.

    They are looking at adding a default TUI text editor (https://github.com/microsoft/terminal/discussions/16440) and now they are adding sudo.

    I would not be surprised if systemd or something like it gets ported or reinvented for Windows simply because it makes managing services so nice.

  • Overview over Microsoft's developer tools for Windows
    4 projects | dev.to | 19 Jan 2024
    GitHub
  • On Being Listed as an Artist Whose Work Was Used to Train Midjourney
    1 project | news.ycombinator.com | 16 Jan 2024
    >We are allowed to view and consume it, to be influenced by it, and under many circumstances even outright copy it.

    People keep saying this but it's actually much more complicated, and in many cases you can't view copyrighted content.

    An example, MicroSoft employees are not permitted to view or learn from an open source (GPL-2) terminal emulator:

    https://github.com/microsoft/terminal/issues/10462#issuecomm...

    Another example is proprietary software that may have it's source available, either intentionally or not. If you view this and then work on something related to it, like WINE for example, you are definitely at risk of being successfully sued.

    If you worked at MicroSoft and worked on Windows, you would not be able to participate in WINE development at all without violating copyright.

    If you viewed leaked Windows source code you also would not be able to participate in WINE development.

    An interesting question that I have, is whether training on proprietary, non-trade-secret sources would be allowed. Something like unreal engine, where you can view the source but it's still proprietary.

  • Terminal Smooth Scrolling
    2 projects | news.ycombinator.com | 4 Jan 2024
    Windows Terminal is pretty good and a new terminal emulator written in the last few years. No smooth scrolling, here's the GitHub issue requesting it: https://github.com/microsoft/terminal/issues/1400
  • Microsoft defends Edge's predatory practices with cringe reply on X
    2 projects | news.ycombinator.com | 14 Dec 2023
    Assume its related to this:

    https://github.com/microsoft/terminal/issues/10362

    It's nothing serious just microsoft engineers writing slow as shit code and reacting poorly to someone trying to help.

  • Should Windows have a default CLI editor?
    2 projects | news.ycombinator.com | 13 Dec 2023
    "There are plenty of offline scenarios where this would be incredibly useful. For disconnected environments, etc. There are some environments that will never connect to winget."

    Source: https://github.com/microsoft/terminal/discussions/16440#disc...

  • Windows Feature Exploration: Default CLI Text Editor
    1 project | news.ycombinator.com | 10 Dec 2023
  • Default Windows CLI Text Editor (Neovim/Emacs/edit/)
    1 project | news.ycombinator.com | 9 Dec 2023

What are some alternatives?

When comparing chokidar and Windows Terminal you can also consider the following projects:

Filehound - Flexible and fluent interface for searching the file system

Tabby - A terminal for a more modern age

Nodemon.io - Monitor for any changes in your node.js application and automatically restart the server - perfect for development

cmder - Lovely console emulator package for Windows

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

sixel-tmux - sixel-tmux is a fork of tmux, with just one goal: having the most reliable support of graphics

Watch-fn

PowerShell - PowerShell for every system!

filenamify - Convert a string to a valid safe filename

starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!

globby - User-friendly glob matching

refterm - Reference monospace terminal renderer