![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
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.
HOT-RELOAD & DEV-SERVER for Vanilla JavaScript (ES6 Modules) - powered by SystemJS & JSPM
Tip: 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 open app.js
or es6module.js
file from src
, make some changes and save to see Hot-Reload updates in running application without page reload!
npm i jspm@beta -D
./node_modules/.bin/jspm init
./node_modules/.bin/jspm i systemjs-hot-reloader
$ npm i jspm-hmr -D
Tip: You can install this module globally using -g flag and use it as a simple static http server in any folder 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 out-of-the-box
$ 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: 3000)
-a, --address <address> custom address (default: localhost)
-c, --cache <seconds> enable Cache-Control with max-age=<seconds> (default: -1)
-P, --proxy <address>:<port> proxies requests to specified target
--proxy-route <route_path> proxies only requests that match route path (default: *)
-S, --ssl enables https (by default uses built-in self-signed cert)
-K, --key <path> path to ssl-key .pem file (overrides default key)
-C, --cert <path> path to ssl-cert .pem file (overrides default cert)
-F, --fallback <rewrite_target> enable HTML5 History Api Fallback (/index.html)
--verbose more logging messages for: fallback
--disable-hmr disable Hot-Reload (Chokidar Socket Server)
pwd
on port "4444" & automatically open in browser (last active window takes precedence)$ jspm-hmr . --port 4444 --open
/api/
$ jspm-hmr dist --cache 3600 --proxy http://localhost:1234 --proxy-route /api/
$ jspm-hmr dist --ssl
pwd
with HTML5 History Api Fallback$ jspm-hmr --fallback
Chokidar process on dev server watches specified path for file changes and emits events through web socket to the browser web socket client to reload that particular JavaScript module that has been changed.
Uses:
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
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
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.