chokidar VS jsbundling-rails

Compare chokidar vs jsbundling-rails and see what are their differences.

chokidar

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

jsbundling-rails

Bundle and transpile JavaScript in Rails with esbuild, rollup.js, or Webpack. (by rails)
Our great sponsors
  • Zigi - Workflow assistant built for devs & their teams
  • Sonar - Write Clean JavaScript Code. Always.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Scout APM - Truly a developer’s best friend
chokidar jsbundling-rails
15 29
9,520 614
- 6.8%
5.1 6.8
6 days ago about 2 months ago
JavaScript Ruby
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 2022-11-15.

jsbundling-rails

Posts with mentions or reviews of jsbundling-rails. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-25.
  • Vercel announces Turbopack, the successor to Webpack
    21 projects | news.ycombinator.com | 25 Oct 2022
    The Rails https://github.com/rails/jsbundling-rails gem lets you pick between esbuild, rollup and Webpack. If Turbopack ends up being popular then jsbundling should be able to support it.

    The nice thing about Rails now is there's no direct integration like Webpacker once was. Now we can basically use the JS tool straight up and Rails will just look at assets in a specific directory, it doesn't matter what tool generated it.

  • Setup TailwindCSS, postcss and esbuild on Rails 7
    12 projects | dev.to | 12 Oct 2022
    esbuild form JavaScript Bundling - (this post)
  • Ruby on Rails 7 - High-performance frontend development with Esbuild, Rollup & Vite
    2 projects | dev.to | 10 Oct 2022
    The other three offer bundle and transpiling of JavaScript in Rails via jsbundling-rails
  • Setup Vite, Svelte, Inertia, Stimulus, Bootstrap / Foundation on Rails-7 (Overview)
    10 projects | dev.to | 20 Sep 2022
    I spent weeks for understanding all that new frontend options around the new rails-7 and the great new enhancements. From my view, rails should only have two default options on frontend: Importmaps, which needs no Node setup on development machine and production server. But, if you have Node or you want to have Hot Module Reloading (HMR) with code-splitting or want or have to be able compiling javascript files like .ts, .jsx, .svelte. So, if Node, why not Vite? I totally agree with Juice10. Currently Webpacker has more Downloads but reading comparitions it seems to be a matter of time until Vite is ahead. On the other hand, jsbundling together with a gem like rails_live_reload is working fast, but its always triggering a page reload and all the javascript even if you're just modifying styles. This was the decisive reason for me.
  • Vite – Next Generation Front End Tooling
    13 projects | news.ycombinator.com | 3 Jul 2022
    I don't know what's involved with Laravel's front-end stuff but Rails is using https://github.com/rails/jsbundling-rails which lets you pick whichever front-end tool you want to use that's supported (esbuild + webpack + rollup at the moment). You're no longer bound to a specific tool that's been modified to work with Rails, instead you can use the native tool with its native configuration.

    esbuild with Rails 7 is extremely easy nowadays. It's pretty much running a single esbuild command with a couple of flags, there's not even a config file you need to mess around with.

  • Using Chart.js plugins with webpack
    6 projects | dev.to | 3 Jul 2022
    I'm trying to write this in a framework agnostic way, but the fact is I'm using webpack in a Ruby on Rails app (via jsbundling-rails), so there will be some specifics that may differ from someone else's approach.
  • My project: railstart app
    47 projects | reddit.com/r/rails | 12 Jun 2022
    jsbundling-rails
  • Managing Javascript the easy way in Rails 7
    3 projects | dev.to | 25 Apr 2022
    After some background research and deliberation with colleagues, I eventually settled on JSbundling. This allows a similar approach to asset building to the rest of the Javascript world, but with the added magic from the asset pipeline we know and love.
  • How to migrate rails sprockets to propshaft
    3 projects | dev.to | 16 Mar 2022
    Propshaft has a smaller scope than sprockets and requires you to rely on the js-bundling and css-bundling gems to handle the building of CSS and JS assets. Read the docs for an extensive upgrade guide.
  • New view helpers for jsbundling ?
    3 projects | reddit.com/r/rails | 6 Mar 2022
    It's a very reasonable question. There's a migration guide for webpack to jsbundling which you should find helpful. Step 5 deals with pack tags:

What are some alternatives?

When comparing chokidar and jsbundling-rails you can also consider the following projects:

importmap-rails - Use ESM with importmap to manage modern JavaScript in Rails without transpiling or bundling.

vite_ruby - ⚡️ Vite.js in Ruby, bringing joy to your JavaScript experience

Filehound - Flexible and fluent interface for searching the file system

hotwire-rails - Use Hotwire in your Ruby on Rails app

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

Webpacker - Use Webpack to manage app-like JavaScript modules in Rails

Watch-fn

esbuild - An extremely fast JavaScript and CSS bundler and minifier

esbuild-live-reload

tailwindcss-stimulus-components - A set of StimulusJS components for TailwindCSS apps similar to Bootstrap JS components.

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

globby - User-friendly glob matching