kodepandai / lunox

Laravel-Flavoured Nodejs Framework
https://lunox.js.org
MIT License
75 stars 8 forks source link

[lunox-core] run artisan command without build step #40

Open axmad386 opened 1 year ago

axmad386 commented 1 year ago

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:

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.

axmad386 commented 11 months ago

With bun, we can run artisan command. Tested and working. But some part are not fully compatible

axmad386 commented 3 weeks ago

This is working example of using lunoxjs in bun environment https://github.com/axmad386/lunox-bun-example