![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
HOT-RELOAD & DEV-SERVER for Vanilla JavaScript (ES6 Modules) - powered by SystemJS & JSPM
Framework Agnostic Hot-Reload - powered by SystemJS & JSPM
You don't need fancy frameworks (like ReactJS) to do Hot-Reload! Check yourself!
Node.js package (written in TypeScript): https://www.npmjs.com/package/jspm-hmr
Confirm all Wizard Questions with Enter - for default Babel setup
npm i jspm@beta jspm-hmr -D && ./node_modules/.bin/jspm init && ./node_modules/.bin/jspm i systemjs-hot-reloader && ./node_modules/.bin/jspm-hmr -I && npm start
Now go and make some changes in app.js
or es6module.js
file and save it to see Vanilla JavaScript Hot-Reload in action!
Always use ES6 Modules Standard (import/export) instead of CommonJS/AMD format for solid static analysis capabilities and compliance with JS standard: http://exploringjs.com/es6/ch_modules.html
npm i jspm@beta -D
- installs http://jspm.io
./node_modules/.bin/jspm init
- initialize jspm wizard
./node_modules/.bin/jspm i systemjs-hot-reloader
- installs client "Hot-Reload" dependency
$ npm i jspm-hmr -D
Tip: You can install it globally using -g flag so you can use it as simple http server in any directory on your machine
Pro-Tip: You can use --init flag to initialize your project with index.html, app.js, server.js files - configured with hot-module-reload for JSPM & SystemJS
$ jspm-hmr [path] [options]
Options:
-h, --help output usage information
-V, --version output the version number
-i, --init CLI Wizard to bootstrap your project
-o, --open automatically open browser (default: false)
-p, --port <number> port number (default: 8888)
-c, --cache <seconds> enable Cache-Control with max-age=<seconds> (default: -1)
-P, --proxy <url> proxies requests to specified url
-S, --ssl enables https, requires --key and --cert
-K, --key <path> path to ssl-key .pem file
-C, --cert <path> path to ssl-cert .pem file
$ jspm-hmr . -p 4444 -o
$ jspm-hmr dist -c 3600 -P http://localhost:1234
Watches specified files for changes in chosen path and emits events through web sockets on changes to your client to reload that particular JavaScript modules that has changed.
-i
or --init
flag will run CLI Wizard to bootstrap your index.html
, app.js
and server.js
in your project folder with Dev Server and Hot-Reload configuration for quick start.
It uses great systemjs-hot-reloader for Client and chokidar-socket-emitter for Dev Server.
Copyright 2016 Piotr Witek piotrek.witek@gmail.com (http://piotrwitek.github.io)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
FAQs
Dev-Server with Hot-Reload for JSPM & SystemJS
The npm package jspm-hmr receives a total of 9 weekly downloads. As such, jspm-hmr popularity was classified as not popular.
We found that jspm-hmr 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.