Skip to content

acheroncrypto/watchso

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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