diff --git a/.gitignore b/.gitignore index 1122d4f01002e1f9bf100d16ef74e060cc45caf7..5c21490a869ff33219da27f42e9de5ef686f02a2 100644 --- a/.gitignore +++ b/.gitignore @@ -30,7 +30,6 @@ pnpm-debug.log* # todo *.todo -*.hcl # jetbrains .idea diff --git a/example.hcl b/example.hcl new file mode 100644 index 0000000000000000000000000000000000000000..7d5a850add6bfb8bc85e762dbc6b2eac7caf8f28 --- /dev/null +++ b/example.hcl @@ -0,0 +1,15 @@ +process "test_prod" { + script = "node ./test.js" + + env { + NODE_ENV = "production" + } + + watch { + path = "./test.js" + } +} + +process "test" { + script = "node ./test.js" +} \ No newline at end of file diff --git a/test.js b/test.js deleted file mode 100644 index 63ab4dd23cb900872ebe86698f48e7e7c0c096bc..0000000000000000000000000000000000000000 --- a/test.js +++ /dev/null @@ -1,3 +0,0 @@ -(function wait() { - setTimeout(wait, 1000); -})();