make daemon output build logs to treehouse_build.log
This commit is contained in:
		
							parent
							
								
									534c6f9088
								
							
						
					
					
						commit
						734f1e096b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -11,7 +11,7 @@ mkfifo $reload_fifo
 | 
			
		|||
 | 
			
		||||
reload() {
 | 
			
		||||
    # This just kind of assumes regeneration doesn't take too long.
 | 
			
		||||
    cargo build --release
 | 
			
		||||
    cargo build --release > "$build_log" 2>&1
 | 
			
		||||
    kill "$treehouse_pid"
 | 
			
		||||
    cargo run --release -- serve --port 8082 > "$build_log" 2>&1 &
 | 
			
		||||
    treehouse_pid="$!"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue