diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-06-18 15:48:39 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-06-18 15:48:39 +0300 |
commit | ac4179e7de2b9ecd3696b8191fbdbde14e3f62cd (patch) | |
tree | 8b670aacc37004f0364ef9f7aa6c01e9b5659742 /test/storage/server.js | |
parent | 22acc2f14c9a21a3c6f8dbfc2adc689d6cd921bb (diff) | |
download | qtlocation-mapboxgl-ac4179e7de2b9ecd3696b8191fbdbde14e3f62cd.tar.gz |
Use a pipe() to synchronize the server initialization
As the signals are intercepted by debuggers.
Diffstat (limited to 'test/storage/server.js')
-rwxr-xr-x | test/storage/server.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/storage/server.js b/test/storage/server.js index 1ee5363196..9f6def9c0b 100755 --- a/test/storage/server.js +++ b/test/storage/server.js @@ -103,6 +103,6 @@ var server = app.listen(3000, function () { if (process.argv[2]) { // Allow the test to continue running. - process.kill(+process.argv[2], 'SIGCONT'); + process.stdin.write("Go!\n"); } }); |