
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
broccoli-inject-livereload
Advanced tools
Broccoli plugin for injecting livereload script into HTML
This plugin injects a reference to the livereload script into your HTML files. Please note that the plugin will only modify files with .html
extension that match the target property and simply copy everything else.
npm install broccoli-inject-livereload --save-dev
const BroccoliInjectLivereload = require('broccoli-inject-livereload')
const reloadable = new BroccoliInjectLivereload('app', {
target: 'index.html'
})
module.exports = reloadable
const BroccoliInjectLivereload = require('broccoli-inject-livereload')
const reloadable = new BroccoliInjectLivereload('app', {
target: /^[a-zA-Z._-]+.html$/
})
module.exports = reloadable
const BroccoliInjectLivereload = require('broccoli-inject-livereload')
const reloadable = new BroccoliInjectLivereload('app', {
target: 'index.html',
livereload: {
port: 12345
}
})
module.exports = reloadable
This project is distributed under the MIT license.
FAQs
Broccoli plugin for injecting livereload script into HTML
We found that broccoli-inject-livereload 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.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.