Skip to content

Rename rewatch to rescript #7687

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ jobs:

- name: Copy rewatch binary
run: |
cp rewatch/target/${{ matrix.rust-target }}/release/rewatch${{ runner.os == 'Windows' && '.exe' || '' }} rewatch
cp rewatch/target/${{ matrix.rust-target }}/release/rescript${{ runner.os == 'Windows' && '.exe' || '' }} rescript
mkdir -p rewatch/target/release
cp rewatch/target/${{ matrix.rust-target }}/release/rewatch${{ runner.os == 'Windows' && '.exe' || '' }} rewatch/target/release
cp rewatch/target/${{ matrix.rust-target }}/release/rescript${{ runner.os == 'Windows' && '.exe' || '' }} rewatch/target/release
./scripts/copyExes.js --rewatch
shell: bash

Expand Down
14 changes: 1 addition & 13 deletions rewatch/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions rewatch/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "rewatch"
name = "rescript"
version = "12.0.0-beta.3"
edition = "2024"

Expand All @@ -18,12 +18,10 @@ futures-timer = "3.0.2"
indicatif = "0.17.3"
log = { version = "0.4.17" }
notify = { version = "5.1.0", features = ["serde"] }
notify-debouncer-mini = { version = "0.2.0" }
rayon = "1.6.1"
num_cpus = "1.17.0"
regex = "1.7.1"
serde = { version = "1.0.152", features = ["derive"] }
serde_derive = "1.0.152"
serde_json = { version = "1.0.93" }
sysinfo = "0.29.10"
tempfile = "3.10.1"
Expand Down
2 changes: 1 addition & 1 deletion rewatch/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use clap::Parser;
use log::LevelFilter;
use std::{io::Write, path::Path};

use rewatch::{build, cli, cmd, format, lock, watcher};
use rescript::{build, cli, cmd, format, lock, watcher};

fn main() -> Result<()> {
let args = cli::Cli::parse();
Expand Down
2 changes: 1 addition & 1 deletion rewatch/tests/suite-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cd $(dirname $0)
if [ -n "$1" ]; then
REWATCH_EXECUTABLE="$1"
else
REWATCH_EXECUTABLE="../target/release/rewatch"
REWATCH_EXECUTABLE="../target/release/rescript"
eval $(node ./get_bin_paths.js)
fi

Expand Down
2 changes: 1 addition & 1 deletion scripts/copyExes.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if (shouldCopyNinja) {
}

if (shouldCopyRewatch) {
copyExe(path.join(rewatchDir, "target", "release"), "rewatch", "rescript");
copyExe(path.join(rewatchDir, "target", "release"), "rescript");
}

/**
Expand Down