mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
- move tests from bash to js - removed `pm2_env`.watch path resolving in favor of chokidar `cwd` option ([see here](https://github.com/paulmillr/chokidar/blob/master/CHANGELOG.md#chokidar-100-7-april-2015)) (fix #1577) - if watch is a boolean, path is set to process cwd (`pm2_env.pm_cwd`) (keep #1578 coverage)
7 lines
125 B
JavaScript
7 lines
125 B
JavaScript
var http = require('http');
|
|
|
|
http.createServer(function(req, res) {
|
|
res.writeHead(200);
|
|
res.end('hey');
|
|
}).listen(8010);
|