make: site-livereload, make it show up in make help
This commit is contained in:
		
							parent
							
								
									a29b70c93f
								
							
						
					
					
						commit
						2f2b68f1cd
					
				
							
								
								
									
										4
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
									
									
									
									
								
							| @ -940,8 +940,8 @@ site-preview: site/hakyll-std/hakyll-std \ | ||||
| 	$(call def-help,site-preview, run a hakyll server to preview the website  ) #site/site | ||||
| 	-cd site; hakyll-std/hakyll-std watch # -h hledger.org | ||||
| 
 | ||||
| # open a browser on the latest site html and reload the page whenever it changes
 | ||||
| site-reload: | ||||
| site-livereload: \ | ||||
| 	$(call def-help,site-livereload, open a browser on the latest site html and reload the page whenever it changes  ) | ||||
| 	(sleep 1; open http://localhost:8001) & | ||||
| 	livereloadx -p 8001 --static site/_site | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user