wachit 0.2.2

Instant rebuilds for your dev workflow
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
const http = require("http");

const server = http.createServer((req, res) => {
  res.writeHead(200, { "Content-Type": "text/plain" });
  res.end("Hello world");
});

server.listen(4040, () => {
  const arg1 = process.argv[2];
  const arg2 = process.argv[3];

  console.log("Second argument:", arg2);

  console.log("Server running at http://localhost:4000/");
});