mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-11-24 08:42:19 +02:00
switched web pack watch to poll mode
This commit is contained in:
parent
53985a282d
commit
a28dd6269a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user