You've already forked Sonarr
							
							
				mirror of
				https://github.com/Sonarr/Sonarr.git
				synced 2025-10-31 00:07:55 +02:00 
			
		
		
		
	switched web pack watch to poll mode
This commit is contained in:
		| @@ -1,9 +1,7 @@ | ||||
| var gulp = require('gulp'); | ||||
| var webpackStream = require('webpack-stream'); | ||||
| var livereload = require('gulp-livereload'); | ||||
|  | ||||
| var webpackConfig = require('../webpack.config'); | ||||
| webpackConfig.devtool = "#source-map"; | ||||
|  | ||||
| gulp.task('webpack', function() { | ||||
|     return gulp.src('main.js').pipe(webpackStream(webpackConfig)).pipe(gulp.dest('')); | ||||
|   | ||||
| @@ -14,6 +14,8 @@ if (phantom) { | ||||
| } | ||||
|  | ||||
| module.exports = { | ||||
|   devtool : '#source-map', | ||||
|   watchOptions : { poll: true }, | ||||
|   entry: { | ||||
|     vendor: 'vendor.js', | ||||
|     main: 'main.js' | ||||
| @@ -65,7 +67,7 @@ module.exports = { | ||||
|   ], | ||||
|   module: { | ||||
|  | ||||
|     //this doesn't work yet. wainting for https://github.com/spenceralger/rcloader/issues/5 | ||||
|     //this doesn't work yet. waiting for https://github.com/spenceralger/rcloader/issues/5 | ||||
|     /*preLoaders: [ | ||||
|         { | ||||
|             test: /\.js$/, // include .js files | ||||
|   | ||||
		Reference in New Issue
	
	Block a user