
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
reload-wrapper
Advanced tools
thin wrapper for alallier/reload to launch static web server with live reload from command line
$ cat package.json
{
"scripts": {
"reload": "reload-wrapper -d ./public -w ./public/dist"
}
}
$ npm run reload
$ npm install reload-wrapper
You need include /reload/reload.js to your html.
(reload-wrapper not append your html)
<script src="/reload/reload.js"></script>
or
var reload = document.createElement("script");
reload.src = "/reload/reload.js";
document.body.appendChild(reload);
Usage: reload-wrapper [options]
Options:
-V, --version output the version number
-d, --dir [dir] The directory to serve up. Defaults to current dir. (default: /apps/getto/elm/tools)
-w, --watch-dir [watch-dir] The directory to watch. Defaults the serving directory.
-e, --exts [extensions] Extensions separated by commas or pipes. Defaults to html,js,css. (default: html|js|css)
-p, --port [port] The port to bind to. Can be set with PORT env variable as well. Defaults to 8080 (default: 8080)
-v, --verbose [verbose] Turning on logging on the server and client side. Defaults to false (default: false)
--reload-js [reload-js] The script to reload browser when contents changed. Defaults to /reload/reload.js (default: /reload/reload.js)
--header-file [header-file] Optional http headers for serving contents. Defaults to headers.json (default: headers.json)
-h, --help output usage information
reload-wrapper is licensed under the MIT license.
Copyright © since 2018 shun@getto.systems
FAQs
thin wrapper for reload
We found that reload-wrapper 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.