I have a function under
netlify/functions/graphql.ts
and when I edit it then netlify dev
will:
◈ Building functions from directory netlify/functions
◈ Finished building functions: graphql.ts
But when I edit any files that graphql.ts
indirectly depends on for example:
graphql.ts:
import Hello from "../world"
…/world.ts:
import Hi from "there"
there.ts:
function Hi() {
return "there" // make edit here
}
then netlify dev
does not seem to pick up the change and does not rebuild functions.
My tsconfig.json
does includes all files (e.g. "include": ["netlify/functions/graphql.ts", "src/**/*"]
)