Update dev.js
This commit is contained in:
		
							parent
							
								
									efe62eb303
								
							
						
					
					
						commit
						58fa54a9a6
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -1,6 +1,12 @@
 | 
				
			||||||
const execa = require('execa');
 | 
					const execa = require('execa');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(async () => {
 | 
					(async () => {
 | 
				
			||||||
 | 
						await execa('npm', ['run', 'clean'], {
 | 
				
			||||||
 | 
							cwd: __dirname + '/../',
 | 
				
			||||||
 | 
							stdout: process.stdout,
 | 
				
			||||||
 | 
							stderr: process.stderr,
 | 
				
			||||||
 | 
						});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	execa('npx', ['gulp', 'watch'], {
 | 
						execa('npx', ['gulp', 'watch'], {
 | 
				
			||||||
		cwd: __dirname + '/../',
 | 
							cwd: __dirname + '/../',
 | 
				
			||||||
		stdout: process.stdout,
 | 
							stdout: process.stdout,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue