1.1.0 • Published 5 years ago

proton-native-reload v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

proton-native-reload

For use during development of proton-native application.

This tool will watch files in the proton-native app directory and on any changes your app will be restarted

Installation

The best way to use this is to install tool globally, by using

npm install -g proton-native-reload

Or you can install it as development dependency

npm install --save-dev proton-native-reload

Usage

Navigate to you proton-native application directory and simply run

proton-native-reload

By default the entry file is ./index.js and the path to watch is ./; you can define the entry file by passing a valid file path as argument.

# implicit file:
proton-native-reload src/app/index.js
# or more explicit:
proton-native-reload --main-file=src/app/index.js

To define the watch path pass a valid folder path as argument.

# implicit folder:
proton-native-reload build/
# or more explicit:
proton-native-reload --watch-path=build