1 unstable release

0.1.0 Mar 12, 2023

#6 in #reloading

Download history 1/week @ 2024-02-16 8/week @ 2024-02-23 6/week @ 2024-03-01 3/week @ 2024-03-08 10/week @ 2024-03-15 14/week @ 2024-03-29 1/week @ 2024-04-05 97/week @ 2024-04-19 3/week @ 2024-04-26

100 downloads per month

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

~21–55MB
~1M SLoC