Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

proton-hot-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proton-hot-cli

A hot-reloading babel-node for proton-native apps

latest
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

proton-hot-cli

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.

FAQs

Package last updated on 05 Aug 2018

Did you know?

Socket

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.

Install

Related posts