Skip to content

Instantly share code, notes, and snippets.

@RileySeaburg
Created July 10, 2022 00:00
Show Gist options
  • Save RileySeaburg/38e324701f4050beacb73213b0f202ab to your computer and use it in GitHub Desktop.
Save RileySeaburg/38e324701f4050beacb73213b0f202ab to your computer and use it in GitHub Desktop.
# Copyright (c) 2022 Evolving Software Corporation
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
#!/bin/sh
sudo apt-get install lld clang
cargo install cargo-watch
RUST_BACKTRACE=1 RUST_LOG=actix_web=debug cargo watch -x check -x test -x clippy -x fmt -x run
@RileySeaburg
Copy link
Author

This is similar to an npm script to run your rust server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment