diff --git a/lib/server/server.js b/lib/server/server.js index 6af3642d8ab4..8aaf246a0eed 100644 --- a/lib/server/server.js +++ b/lib/server/server.js @@ -558,8 +558,9 @@ function execute(port) { // gaze watches some specified dirs and triggers a callback when they change. gaze( [ - '../docs/**/*', // docs + '../' + readMetadata.getDocsPath() + '/**/*', // docs '**/*', // website + '!node_modules/**/*', // node_modules ], function() { // Listen for all kinds of file changes - modified/added/deleted.