diff --git a/builder/src/main.rs b/builder/src/main.rs index b1eeda8..2b590d3 100644 --- a/builder/src/main.rs +++ b/builder/src/main.rs @@ -6,7 +6,6 @@ extern crate tracing; use std::{ path::{Path, PathBuf}, - process::{self, Stdio}, time, }; @@ -111,30 +110,6 @@ fn watch(root: PathBuf) -> Result<()> { watcher.watch(&root.join("static"), RecursiveMode::Recursive)?; watcher.watch(&root.join("config.toml"), RecursiveMode::NonRecursive)?; - info!("Starting webserver"); - let root1 = root.clone(); - std::thread::spawn(move || { - let root = root1; - let run = || -> Result<()> { - let path = root.join("dist"); - let mut server = process::Command::new("live-server"); - server - .current_dir(path) - .stdout(Stdio::null()) - .stderr(Stdio::null()); - - let mut child = server.spawn().wrap_err("failed to spawn `live-server`.\ - Install https://github.com/tapio/live-server into your PATH, for example with nix, see shell.nix")?; - let exit = child.wait().wrap_err("interrupt waiting for live-server")?; - bail!("live-server exited early, exit: {exit}"); - }; - - if let Err(e) = run() { - error!(?e); - process::exit(1); - } - }); - info!("Starting loop"); std::thread::spawn(move || { diff --git a/static/root/index.html b/static/root/index.html index 5263a0c..1612adc 100644 --- a/static/root/index.html +++ b/static/root/index.html @@ -50,13 +50,14 @@ } .numbered-section { - counter-set: subsection 1; + counter-set: subsection 0; } .numbered-section::before { counter-increment: section; content: counter(section) ". "; } .numbered-subsection::before { + counter-increment: subsection; content: counter(section) "." counter(subsection) ". "; } @@ -131,6 +132,7 @@
+ my name is nora and my pronouns are she/her (you can also find them in DNS as
+ TXT pronouns.noratrieb.dev). i like doing all kinds of things with
+ computers and learning about how they work. i like learning about anything really,
+ i'm also interested in history and other sciences.
+
+ i work as a web developer, where i make websites and systems. this website is also + very cool. +
+lw t5, 208(sp); lw sp, 20(sp)
+ NORA encoded as RISC-V instructions
+ noratrieb
- . if you're on a server where i'm too (like the Rust Community Discord) you can just DM me
- (make sure to include the reason in the first message or i will ignore it)
+ . if you're on a server where i'm too (like the Rust Community Discord) you can just
+ DM me (make sure to include the reason in the first message or i will ignore it)