Evan Wallace

Results 542 comments of Evan Wallace

I don't believe the installer has been changed in a long time. Unfortunately I don't have a Windows machine and I'm also unfamiliar with Yarn, so I'm unable to debug...

Ok, thanks. In that case I'm closing this as it's not a bug with esbuild.

Sure I don't see why not. You should be able to already do that now by just assigning to `context.initialOptions`, although I suppose it isn't clean if you're using TypeScript...

This is by design. From [the documentation](https://esbuild.github.io/api/#serve): > With esbuild's web server, each incoming request starts a rebuild if one is not already in progress, and then waits for the...

Thanks for the suggestions. > The issue I was experiencing was that a slow plugin caused rebuilds to take a significant amount of time (~7-9s), making page refreshes extremely painful...

I'm not sure if this is what you meant, but the `out` field is already what is substituted for `[name]` in `entryNames`: [link](https://esbuild.github.io/try/#YgAwLjI3LjAAewogIGVudHJ5UG9pbnRzOiBbCiAgICB7IGluOiAnLi9mb28uanMnLCBvdXQ6ICdOQU1FX0dPRVNfSEVSRScgfSwKICBdLAogIG91dGRpcjogJ291dCcsCiAgZW50cnlOYW1lczogJ25hbWU9W25hbWVdLGhhc2g9W2hhc2hdJywKfQAAZm9vLmpzAGNvbnNvbGUubG9nKCdmb28nKQ)

I'm looking at other watch mode issues at the moment due to #4178. One reason why this isn't straightforward to do is that esbuild's watch mode is deliberately precise instead...

I know this is how certain other tools in the JavaScript ecosystem work such as [Google Closure Compiler](https://github.com/google/closure-compiler/blob/4b3e3f5d6cc942574f2ae89fe3d1946a5f6791dc/externs/browser/html5.js) and [Terser](https://github.com/terser/terser/blob/da1e6fb2acd90e62bac69967718b89d6f00aab79/tools/domprops.js). However, esbuild doesn't work that way by default because I...

Thank you for the report. I think this is the first time that this has come up. From looking at [`node-platform.ts`](https://github.com/evanw/esbuild/blob/d6427c91edab734da686c4c5d29ed580b08b9fd5/lib/npm/node-platform.ts): This message happens when `require.resolve('@esbuild/freebsd-arm64')` throws an error but...

The way this is supposed to work is that you'd use esbuild to build your website into `outdir`, and then serve your web root with a web server. In production,...