![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-Module-Reload - made for dummies!
Node.js package, written in TypeScript with async/await to fabuously deal with Node.js callback hell.
Designed to hot-reload ReactJS Components during development.
Using SystemJS for Universal (ES6) Module Loading Support.
Provide initialize procedure which create basic project files (index.html, src/app.js, server.js) with complete Hot-Module-Reload setup and HTTP dev server ready to start with simple "npm start" command.
$ npm install jspm-hmr --save-dev
$ ./node_modules/.bin/jspm-hmr --init
$ npm start
Now make some changes in "src/app.js" file and save to see hot-module-reload in action!
Always try to use ES6 Modules (import/export) for future-proof code: http://exploringjs.com/es6/ch_modules.html
$ npm install jspm-hmr [--save-dev]
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 initialize files configured with hot-module-reload (index.html, app.js, server.js)
-O, --open automatically open browser (defaults to false)
-P, --port <number> port number (defaults to 8888)
-C, --caching [number] enable caching with max-age= (defaults to -1)
$ jspm-hmr -I
$ jspm-hmr . -O
$ jspm-hmr "dist" -P 4444 -C 3600
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 initialize index.html and server.js in your project with automatic hot-module-reload configuration for easy setup.
Under the hood it uses great systemjs-hot-reloader with chokidar-socket-emitter.
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
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.