mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 03:02:14 +01:00 
			
		
		
		
	add fswatch.json for hot compile
This commit is contained in:
		
							parent
							
								
									1336d8d54d
								
							
						
					
					
						commit
						a04918e36d
					
				
							
								
								
									
										22
									
								
								.fswatch.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.fswatch.json
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,22 @@ | ||||
| { | ||||
|     "paths": [ | ||||
| 		"." | ||||
| 	], | ||||
|     "depth": 2, | ||||
|     "exclude": [ | ||||
| 		"^gogs$", | ||||
|         "~$", | ||||
|         "\\.swp$", | ||||
|         "\\.exe$", | ||||
| 		"\\.swx$", | ||||
| 		".*\\.log$" | ||||
|     ], | ||||
|     "include": [], | ||||
|     "command": [ | ||||
|         "bash", "-c", "go build && ./gogs web" | ||||
|     ], | ||||
|     "env": { | ||||
|         "PROGRAM": "fswatch" | ||||
|     }, | ||||
|     "enable-restart": false | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user