JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q10598F
  • License MIT

The ima hot reload plugin

Package Exports

  • @ima/plugin-hot-reload
  • @ima/plugin-hot-reload/dist/main.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ima/plugin-hot-reload) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@ima/plugin-hot-reload

The IMA plugin automatically hot reload ima application after changing ".js" or ".css" files. The plugin use under hood @ima/plugin-websocket.

Installation

npm install @ima/plugin-hot-reload --save
// /app/build.js

// For only dev environment
if (
  process.env.NODE_ENV === 'dev' ||
  process.env.NODE_ENV === 'development' ||
  process.env.NODE_ENV === undefined
) {
  vendors.common.push('@ima/plugin-hot-reload');
}

After installing plugin @ima/plugin-hot-reload install @ima/plugin-websocket.

IMA.js

The IMA.js is an application development stack for developing isomorphic applications written in pure JavaScript. You can find the IMA.js skeleton application at https://github.com/seznam/ima.