1 unstable release

0.1.0 Mar 12, 2023

#9 in #hot

Apache-2.0

50KB
1K SLoC

watchso

Crates.io Documentation License

Hot reload Solana programs.

Installation

Install with cargo:

cargo install watchso --locked

Usage

Run in the directory of your project:

watchso

This will:

  1. Check whether the necessary tools are installed e.g solana-cli-tools.
  2. Start a Solana test validator if it's not already running.
  3. Update program id(s) if there is a mismatch between the keypair files and the source code.
  4. Build the program(s).
  5. Deploy the program(s).
  6. Hot reload on changes.

Supported frameworks

License

Apache-2.0

Dependencies

~23–54MB
~1M SLoC