mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Make run-dev.py watch for template changes.
Have run-dev.py watch for template changes by calling `./tools/compile-handlebars-templates forever`. This doesn't have much effect until the subsequent commit, but it does alert users to broken templates. (imported from commit 3fa5f403cabe0057f6f43180f1d09db669d98682)
This commit is contained in:
		
				
					committed by
					
						
						Waseem Daher
					
				
			
			
				
	
			
			
			
						parent
						
							d256994528
						
					
				
				
					commit
					1ad82b1f70
				
			@@ -66,6 +66,9 @@ os.chdir(os.path.join(os.path.dirname(__file__), '..'))
 | 
			
		||||
# Clean up stale .pyc files etc.
 | 
			
		||||
subprocess.check_call('./tools/clean-repo')
 | 
			
		||||
 | 
			
		||||
# Watch for handlebars changes.
 | 
			
		||||
subprocess.Popen('./tools/compile-handlebars-templates forever', shell=True)
 | 
			
		||||
 | 
			
		||||
# Set up a new process group, so that we can later kill run{server,tornado}
 | 
			
		||||
# and all of the processes they spawn.
 | 
			
		||||
os.setpgrp()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user