File tree 2 files changed +16
-2
lines changed
2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 41
41
"karma-firefox-launcher" : " ^1.0.1" ,
42
42
"karma-ie-launcher" : " ^1.0.0" ,
43
43
"karma-jasmine" : " ^1.1.0" ,
44
+ "karma-webpack" : " ^2.0.6" ,
44
45
"webpack" : " ^3.8.1"
45
46
},
46
47
"keywords" : [
Original file line number Diff line number Diff line change @@ -11,7 +11,20 @@ module.exports = function (config) {
11
11
12
12
frameworks : [ 'jasmine' ] ,
13
13
14
- files : require ( './karma.conf.files.js' ) [ ENV ] ,
14
+ files : [
15
+ ...require ( './karma.conf.files.js' ) [ ENV ] ,
16
+ {
17
+ pattern : '../../src/*.js' ,
18
+ watched : true ,
19
+ served : false
20
+ }
21
+ ] ,
22
+
23
+ preprocessors : {
24
+ '../../src/*.js' : [ 'webpack' ]
25
+ } ,
26
+
27
+ webpack : { } ,
15
28
16
29
exclude : [ ] ,
17
30
@@ -35,6 +48,6 @@ module.exports = function (config) {
35
48
36
49
singleRun : ENV !== 'development' ,
37
50
38
- restartOnFileChange : true
51
+ // restartOnFileChange: true
39
52
} ) ;
40
53
} ;
You can’t perform that action at this time.
0 commit comments