From 6ced33ebb897fb3bb7ba52eeb9857cb58f0a42f6 Mon Sep 17 00:00:00 2001 From: Matt Loring Date: Mon, 14 Mar 2016 12:03:00 -0700 Subject: [PATCH] Warn when calling start multiple times --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index f8c000e65..94dd77bc0 100644 --- a/index.js +++ b/index.js @@ -114,6 +114,8 @@ var publicAgent = { start: function(projectConfig) { if (this.isActive()) { // already started. + agent.logger.warn('Calling start on already started agent.' + + 'New configuration will be ignored.'); return this; }