
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
jsrebuild dynamically runs the Jake build tool to rebuild JavaScript projects in development environments.
Jake is often run as part of a website's build process, building JavaScript
packages from source files. This often leads to a tedious situation for
projects which use Jake, as the developer must continually run the jake
command to rebuild their JavaScript files as they make changes to the source
code.
The jsrebuild
utility provides a solution to this problem: it watches a
source directory and rebuilds the project whenever changes are made to the
source files, jake.yml
config file and the Jakefile
helper file.
jsrebuild uses the Cool.io library which depends on libev, a low-level event loop library, so you will need to have libev installed before attempting to install the jsrebuild gem.
jsrebuild is available from RubyGems, so you can install it and its dependencies simply by running
gem install jsrebuild
jsrebuild
To watch a particular directory such as ~/projects/mywebapp
for changes, just
run
jsrebuild ~/projects/mywebapp
The jsrebuild
tool takes a number of command-line arguments, allowing you to
set options such as the interval at which it checks files for changes, and
whether or not to force all the project's packages to be rebuild whenever a
change is made.
For a full list of options, run jsrebuild --help
.
jsrebuild
will happily run daemonised. To shut down the process, simply send
it SIGHUP
and it will shut down the event loop and exit cleanly.
FAQs
Unknown package
We found that jsrebuild demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.