Skip to content

Commit 10a4a2e

Browse files
authored
Update webpack-build-development.ts
putting the watch options in the devserver block
1 parent b438eb0 commit 10a4a2e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

addon/ng2/models/webpack-build-development.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@ export const getWebpackDevConfigPartial = function(projectRoot: string, appConfi
2323
clearImmediate: false,
2424
setImmediate: false
2525
},
26-
watchOptions: {
27-
aggregateTimeout: 300,
28-
poll: 1000,
26+
devServer: {
27+
watchOptions: {
28+
aggregateTimeout: 300,
29+
poll: 1000,
30+
}
2931
},
3032
};
3133
};

0 commit comments

Comments
 (0)