From a74408afe4c1aa9ba45f3ccc2c60a0960ccb86c9 Mon Sep 17 00:00:00 2001 From: Adam Angeli Date: Wed, 23 Mar 2016 21:14:19 -0700 Subject: [PATCH] Added option to exclue node_modules directory by default to help alleviate performance problems with angular2 quickstart --- lib/config-defaults.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/config-defaults.js b/lib/config-defaults.js index d7acedb..4f5cad3 100644 --- a/lib/config-defaults.js +++ b/lib/config-defaults.js @@ -7,6 +7,9 @@ var log = require('connect-logger'); module.exports = { injectChanges: false, // workaround for Angular 2 styleUrls loading files: ['./**/*.{html,htm,css,js}'], + watchOptions: { + ignored: "node_modules" + }, server: { baseDir: './', middleware: [