diff --git a/.gitignore b/.gitignore index 1122d4f..5c21490 100644 --- a/.gitignore +++ b/.gitignore @@ -1,37 +1,36 @@ # src build target tests bin # maid .maid/cache .maid/temp .maid/server.toml # build output dist/ assets/ .astro/ # dependencies node_modules/ # logs npm-debug.log* yarn-debug.log* yarn-error.log* pnpm-debug.log* # environment variables .env .env.production # todo *.todo -*.hcl # jetbrains .idea .fleet diff --git a/example.hcl b/example.hcl new file mode 100644 index 0000000..7d5a850 --- /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 63ab4dd..0000000 --- a/test.js +++ /dev/null @@ -1,3 +0,0 @@ -(function wait() { - setTimeout(wait, 1000); -})();