proton-hot-cli2
v0.0.1
Published
proton-hot-cli fork and add ts sup
Downloads
2
Readme
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.