mirror of
				https://github.com/vector-im/element-web.git
				synced 2025-10-31 16:21:46 +01:00 
			
		
		
		
	Don't use hash-named directory for dev server
Otherwise Chrome thinks you're working on a new file every time you refresh and therefore closes source tabs and removes breakpoints which is very annoying. It also allegedly makes webpack-dev-server run out of memory because it has to remember all the different files.
This commit is contained in:
		
							parent
							
								
									9a933e2ce5
								
							
						
					
					
						commit
						2ca871a028
					
				| @ -37,7 +37,7 @@ | |||||||
|     "build:dev": "node scripts/babelcheck.js && npm run build:res && npm run build:bundle:dev", |     "build:dev": "node scripts/babelcheck.js && npm run build:res && npm run build:bundle:dev", | ||||||
|     "dist": "scripts/package.sh", |     "dist": "scripts/package.sh", | ||||||
|     "start:res": "node scripts/copy-res.js -w", |     "start:res": "node scripts/copy-res.js -w", | ||||||
|     "start:js": "webpack-dev-server -w --progress", |     "start:js": "webpack-dev-server --output-filename=bundles/_dev_/[name].js -w --progress", | ||||||
|     "start:js:prod": "NODE_ENV=production webpack-dev-server -w --progress", |     "start:js:prod": "NODE_ENV=production webpack-dev-server -w --progress", | ||||||
|     "start": "node scripts/babelcheck.js && parallelshell \"npm run start:res\" \"npm run start:js\"", |     "start": "node scripts/babelcheck.js && parallelshell \"npm run start:res\" \"npm run start:js\"", | ||||||
|     "start:prod": "parallelshell \"npm run start:res\" \"npm run start:js:prod\"", |     "start:prod": "parallelshell \"npm run start:res\" \"npm run start:js:prod\"", | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user