title: Node.Js on windows - How to clear console
body: <p>Being totally new into node.js environment and philosophy i would like answers to few questions. I had downloaded the node.js for windows installer and also node package manager.Windows Cmd prompt is being currently used for running nodejs apps.</p>
  
  <ol>
  <li><p>cls clears the command window or errors in command prompt. Is there a equivalent for node.js ? console.clear does not exist ;( or does it in some other form?</p></li>
  <li><p>I created a server through this code below</p>
  
  <pre><code>var http = require("http");
  http.createServer(function (request, response) {
      response.writeHead(200, {
          "Content-Type": "text/html"
      });
      response.write("Hello World");
      console.log("welcome world")response.end();
  }).listen(9000, "127.0.0.1");
  </code></pre></li>
  </ol>
  
  <p>i changed the code to below and refreshed the browser to find that content type does not change, how do i get to see the changes?</p>
  
  <pre><code>var http = require("http");
  http.createServer(function(request, response) {
    response.writeHead(200, {"Content-Type": "text/plain"});
    response.write("Hello World");
    console.log("welcome world")
    response.end();
  }).listen(9000,"127.0.0.1");
  </code></pre>