Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
broccoli-lr
Advanced tools
Since version 0.15 or so Broccoli no longer has live-reload baked in as part of its basic server (nor should it honestly).
This command allows for a quick and easy way for you to get all the goodness of the latest Broccoli version as well as the old live reload that you know and love.
To install broccoli-lr you will need to run:
npm install -g broccoli-lr
That's it! No local version (at least not of LR).
You will still have to install your normal local Broccoli and any filters and plugins you may want in your Brocfile.js
(I'm not magical).
This small wrapper heavily relies on being able to grab the watcher instance from an existing Broccoli server. This feature is not currently available and is waiting on a PR to land (hopefully soon).
Until then, please use rtablada/broccoli#feature/server-returns
as your local version of broccoli
in your package.json
file.
Now when you want to start Broccoli with live reload, you can run:
broccoli-lr serve
There is no broccoli-lr build
to minimize the footprint and requirements of this library to stay up to date.
If you want to do a regular build, continue using plain old broccoli build
When running broccoli-lr serve
there are some different options that you can pass in to customize things:
--port
(default: 4200) - The port to bind to for compile assets to be served from--host
(default: localhost) - The host to bind to for compile assets to be served from--live-reload-port
(default: 35729) - The port to start LiveReload onThis project is distributed under the MIT license. TLDR; use it, credit it, no guarantees (I do try my best though).
Most of this code is ripped directly from the old version of Broccoli and just adapted for the newer APIs and adding a new binary. Thanks to Jo Liss for making an awesomely performant library and doing most of the heavy lifting!
FAQs
A CLI runner for Broccoli that reenables Live Reload.
We found that broccoli-lr 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
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.