Skip to content

Commit c0a8645

Browse files
committed
debug logs
1 parent 127a093 commit c0a8645

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

rewatch/src/helpers.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -202,15 +202,11 @@ pub fn get_bsc(root_path: &Path, workspace_root: &Option<PathBuf>) -> PathBuf {
202202
let bin_dir = get_bin_dir();
203203

204204
match (
205-
root_path
206-
.join(&bin_dir)
207-
.join("bsc.exe")
205+
dbg!(root_path.join(&bin_dir).join("bsc.exe"))
208206
.canonicalize()
209207
.map(StrippedVerbatimPath::to_stripped_verbatim_path),
210208
workspace_root.as_ref().map(|workspace_root| {
211-
workspace_root
212-
.join(&bin_dir)
213-
.join("bsc.exe")
209+
dbg!(workspace_root.join(&bin_dir).join("bsc.exe"))
214210
.canonicalize()
215211
.map(StrippedVerbatimPath::to_stripped_verbatim_path)
216212
}),

rewatch/tests/legacy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cd ../testrepo/packages/compiled-by-legacy
33

44
bold "Test: It should use the legacy build system"
55

6-
ls -lR ../../node_modules
6+
ls -lR ../../node_modules/@rescript/
77

88
error_output=$(rewatch_legacy clean 2>&1 >/dev/null)
99

0 commit comments

Comments
 (0)