console-ninja icon indicating copy to clipboard operation
console-ninja copied to clipboard

[Feature]: Add support for Wrangler

Open hagishi opened this issue 2 years ago • 5 comments

Describe the feature you'd like.

Having support for Wrangler (Cloudflare developer products) would enhance the development experience.

hagishi avatar Sep 28 '23 23:09 hagishi

Thanks for the request. We're not familiar with Wrangler.

To expedite the evaluation of your feature request, please provide us with a sample project that uses the technology and instructions to start in dev mode.

smcenlly avatar Sep 29 '23 00:09 smcenlly

@smcenlly
Thank you for the message.

I've created a sample project and would like to share it with you. https://github.com/hagishi/ninja-sample-project

hagishi avatar Sep 29 '23 00:09 hagishi

+1 :)

Puliczek avatar Jun 01 '24 14:06 Puliczek

Console Ninja needs to be able to intercept file-read operations to perform its processing. Currently, wrangler dev uses esbuild with the esbuild.watch mode, which runs in a separate process outside of the JavaScript runtime. With esbuild.watch, all file-read operations occur in a completely separate process outside of the JavaScript runtime in esbuild's native binary and there's no opportunity for Console Ninja to perform its processing.

We do not currently have a technical solution for supporting esbuild.watch, but we'll keep this issue open and update it if/when that changes.

smcenlly avatar Jun 02 '24 23:06 smcenlly