Also - pause for 0.1s before opening the browser, to ensure the app is ready - don't open a browser if the app fails to start - terminate the server thread more carefully on exit, may resolve some lingering background thread issues eg on windows
		
			
				
	
	
		
			26 lines
		
	
	
		
			508 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			508 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # docs: https://github.com/commercialhaskell/stack/blob/release/doc/yaml_configuration.md
 | |
| 
 | |
| # this or a newer snapshot is suggested (hledger-api/servant/aeson requires > lts-5)
 | |
| resolver: nightly-2016-04-01
 | |
| 
 | |
| packages:
 | |
| - hledger-lib
 | |
| - hledger
 | |
| - hledger-ui
 | |
| - hledger-web
 | |
| - hledger-api
 | |
| - location:
 | |
|     git: https://github.com/simonmichael/wai
 | |
|     commit: 96847d4cfc5894823f591746cac32416f941ed90
 | |
|   subdirs:
 | |
|     - wai-handler-launch
 | |
| 
 | |
| extra-deps:
 | |
| - file-embed-0.0.10
 | |
| 
 | |
| #flags:
 | |
| 
 | |
| # ghc-options:
 | |
| #   rtsopts:
 | |
| #     all
 |