1.0.5 • Published 5 months ago
krish-mon v1.0.5
const server = http.createServer((req, res) => { res.end('Hello, world!'); });
server.listen(3000, () => { console.log('Server is running on http://localhost:3000'); });
<li>Start the server with <code>krish-mon</code>:</li>
<pre><code>krish-mon server.js</code></pre>
<li>Make changes to your <code>server.js</code> file, and <code>krish-mon</code> will automatically restart the server.</li>
<li>To manually restart the server, type <code>rs</code> in the terminal and press <code>Enter</code>.</li>