proton-hot-cli2

0.0.1 • Public • Published

proton-hot-cli

fork proton-hot-cli and add typescript support

Hot Reloading for proton-native.

For an example, take a look at proton-hot-example


  Usage: cli <main.js>

  Run `main.js` with proton-native hot reloading (similar to babel-node)

  Options:

    -o, --out-dir <dir>      The output directory (default: ./build)
    -l, --log-level <level>  Log level (normal, minimal, errors-only or none) (default: errors-only)
    -h, --help               output usage information

You can disable hot reloading (for both imported and exported components) on a per-file basis:

// @proton-hot-disable
import ...

Please open an issue in https://github.com/mischnic/babel-plugin-proton-hot with any code that isn't working as expected (e.g. not working at all/crashing or not hot reloading). There should be a test for every edge-case regarding component importing and exporting.

/proton-hot-cli2/

    Package Sidebar

    Install

    npm i proton-hot-cli2

    Weekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    9.75 kB

    Total Files

    6

    Last publish

    Collaborators

    • grewer-user