
Product
Introducing Custom Pull Request Alert Comment Headers
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
@byuhbll/hbll-dev-server
Advanced tools
Helper function to integrate Django and BrowserSync with webpack-dev-server.
Helper function to integrate Django and BrowserSync with webpack-dev-server.
$ npm install --save-dev @byuhbll/hbll-dev-server
// webpack.config.js
const hbllDevServer = require('@byuhbll/hbll-dev-server');
module.exports = {
...
devServer: hbllDevServer({
port: 8000,
// optionally run and proxy Django dev server
django: {
host: '127.0.0.1',
port: 8001,
settings: 'config/settings/dev.py',
restartPatterns: ['./**/*.py', './config.yml', '!node_modules'],
useRunserverPlus: true,
},
// see BrowserSync docs for valid BrowserSync config options:
// https://www.browsersync.io/docs/options
browsersync: {
files: [
'./core/static/css/**/*.css',
'./core/static/img/**/*',
'./core/templates/**/*.html',
],
},
// hbllDevServer also takes devServer config options and forwards them.
// See the webpack-dev-server docs for valid config options:
// https://webpack.js.org/configuration/dev-server/
stats: { timings: true, chunks: false, modules: false },
}),
};
The django
and browsersync
options are not required, and if left out, will not be integrated into the devServer
config. All django
and browsersync
settings are optional as well, providing sane defaults.
Once you've configured your dev server, start it up:
$ webpack-dev-server --mode development --hot
FAQs
Helper function to integrate Django and BrowserSync with webpack-dev-server.
We found that @byuhbll/hbll-dev-server 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.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.