convex dev command not pushing functions
convex
├── _generated/
├── betterAuth.ts
│ ├── attachments.ts
│ ├── folders.ts
│ ├── messages.ts
│ └── sync.ts
├── microsoftGraph
│ ├── auth.ts
│ ├── client.ts
│ │ ├── attachments.ts
│ │ ├── folders.ts
│ │ ├── messages.ts
│ │ ├── mutations.ts
│ │ ├── queries.ts
│ │ └── send.ts
│ ├── types.ts
│ └── utils.ts
├── schema.ts
└── tsconfig.json
convex/tsconfig.json :{
/* This TypeScript project config describes the environment that
* Convex functions run in and is used to typecheck them.
* You can modify it, but some settings required to use Convex.
/
"compilerOptions": {
/ These settings are not required by Convex and can be modified. /
"allowJs": true,
"strict": true,
"moduleResolution": "Bundler",
"jsx": "react-jsx",
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"paths": {
"~/": ["../"],
"@/": ["../"],
"@cvx/": ["./"],
"types/": ["../types/"],
"../../types/": ["../types/"],
"constants/": ["../constants/"]
},
/ These compiler options are required by Convex /
"target": "ESNext",
"lib": ["ES2021", "dom"],
"forceConsistentCasingInFileNames": true,
"module": "ESNext",
"isolatedModules": true,
"noEmit": true
},
"include": ["./**/"],
"exclude": [
"../types/",
"../constants/"
]
}
This allows me to import types/constants defined in the main project directory. Linter errors work but using 'bunx convex dev' doesn't push the defined functions, I'd love some help.
bunx convex dev
Write your Convex functions in convex/
Give us feedback at ... or support@convex.dev
View the Convex dashboard at ...
