-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[lunox-core] run artisan command without build step #40
Labels
Comments
With bun, we can run artisan command. Tested and working. But some part are not fully compatible
// Dont do this
await Route.group(base_path("routes/web"));
// instead do this
await Route.group(()=>import("path/to/route"))
|
This is working example of using lunoxjs in bun environment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For now artisan command should run only after build step, or run in watch mode (
pnpm dev
). So tstep by step to run artisan command for now is:pnpm build
orpnpm dev
, wait until source code is compiledpnpm artisan [command]
It will be nice if we can run artisan command without compiling the source code, for example using
ts-node
. But I was tried using it and is complicated for esm type project.I see this magic tool for alternative
https://github.com/esbuild-kit/tsx
I think we can use it in development.
The text was updated successfully, but these errors were encountered: