Fix local markdown title option persistence

This commit is contained in:
lix-2026
2026-05-26 16:47:03 +08:00
parent bb17513821
commit 2c7a91e1fb
7 changed files with 31 additions and 2 deletions
+1
View File
@@ -21,6 +21,7 @@ function cargoWatchCommand(env = process.env) {
const extraArgs = String(env.MNOTE_WEB_DEV_HOT_CARGO_WATCH_ARGS || "").trim();
const watchArgs = [
"-w crates/mnote-web/src",
"-w crates/mnote-web/browser",
"-w crates/mnote-web/Cargo.toml",
"-w Cargo.toml",
"-x \"run -p mnote-web --bin mnote-web\"",
+1
View File
@@ -13,6 +13,7 @@ assert.equal(env.MNOTE_WEB_DEV_HOT_RELOAD, "1");
assert.match(env.MNOTE_WEB_CMD, /cargo watch/);
assert.match(env.MNOTE_WEB_CMD, /run -p mnote-web --bin mnote-web/);
assert.match(env.MNOTE_WEB_CMD, /crates\/mnote-web\/src/);
assert.match(env.MNOTE_WEB_CMD, /crates\/mnote-web\/browser/);
assert.equal(env.FRONTEND_PORT, "3200");
console.log(JSON.stringify({ ok: true, command: env.MNOTE_WEB_CMD }, null, 2));