MCPcopy
hub / github.com/webpack/webpack-dev-server / info

Method info

lib/Server.js:2831–2837  ·  view source on GitHub ↗

* @param {boolean} useColor need to use color? * @param {string} msg message * @returns {string} message with color

(useColor, msg)

Source from the content-addressed store, hash-verified

2829 * @returns {string} message with color
2830 */
2831 info(useColor, msg) {
2832 if (useColor) {
2833 return cyan(msg);
2834 }
2835
2836 return msg;
2837 },
2838 /**
2839 * @param {boolean} useColor need to use color?
2840 * @param {string} msg message

Callers 10

normalizeOptionsMethod · 0.80
listenerMethod · 0.80
logStatusMethod · 0.80
logEnabledFeaturesFunction · 0.80
applyReloadFunction · 0.80
reloadAppFunction · 0.80
invalidFunction · 0.80
index.jsFile · 0.80
closeFunction · 0.80
socketFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected