diff --git a/.codesandbox/tasks.json b/.codesandbox/tasks.json index 37aa682..1378ab1 100644 --- a/.codesandbox/tasks.json +++ b/.codesandbox/tasks.json @@ -6,7 +6,7 @@ "tasks": { "run tailcall": { "name": "run tailcall server", - "command": "$HOME/.tailcall/bin/tc start /workspaces/tailcall-sandbox/app/example.graphql", + "command": "ls /workspaces/tailcall-sandbox/app/example.graphql | entr -r $HOME/.tailcall/bin/tc start /workspaces/tailcall-sandbox/app/example.graphql", "runAtStart": true, "preview": { "port": 3000 diff --git a/Dockerfile b/Dockerfile index d372521..33651bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM ubuntu:latest -RUN apt-get update && apt-get install -y curl jq +RUN apt-get update && apt-get install -y curl jq entr WORKDIR /app COPY ./app/. /app EXPOSE 3000