wachit 0.1.1

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

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

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

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

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