switch for dev and production mode (grunt serve runs in dev mode and grunt build in production)