
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
@webextensions/live-css
Advanced tools
live-css is a Node JS based development server for use with the browser extension "Live editor for CSS, Less & Sass - Magic CSS" for Chrome/Edge/Firefox/Opera
live-css is a Node JS based development server for use with the browser extension Live editor for CSS, Less & Sass - Magic CSS.
https://chrome.google.com/webstore/detail/ifhikkcafabcgolfjegfcgloomalapol
For availability of the latest version of Magic CSS extension on Microsoft Edge, Mozilla Firefox and Opera, follow:
There are two ways to install live-css server: globally and locally.
$ npm install --global @webextensions/live-css
$ live-css
$ npm install --save-dev @webextensions/live-css
var express = require('express');
var app = express();
var httpServer = app.listen(3000, function () {
console.log('Server started');
});
if (codeIsRunningInDevelopmentMode) {
var liveCssServer = require('@webextensions/live-css');
// Start live-css server
liveCssServer({
// Optional - If provided, the live-css server will reuse your current HTTP server port.
// Otherwise, live-css server would run on a separate port.
httpServer: httpServer,
// Optional - If provided, routes for '/live-css/' requests would be setup appropriately
expressApp: app,
// Optional - Use it along with "expressApp" if the "live-css" server runs on a different port
runningOnSeparatePort: false,
// Optional - Useful for providing some common configuration options.
// This example assumes that the path of the config file is same as that of
// server code file initiating live-css server
configFilePath: require('path').resolve(__dirname, '.live-css.config.js')
});
}
$ live-css --help
$ live-css --init
$ live-css --port <custom-port-number>
$ live-css --list-files
$ live-css --allow-symlinks
$ live-css --root <http-server-root-folder>
The configuration file can be generated using $ live-css --init
Note: Configuration options are described in the configuration file
FAQs
live-css is a Node JS based development server for use with the browser extension "Live editor for CSS, Less & Sass - Magic CSS" for Chrome/Edge/Firefox/Opera
We found that @webextensions/live-css demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.