worker-typescript-template icon indicating copy to clipboard operation
worker-typescript-template copied to clipboard

--watch flag not working

Open mariusbolik opened this issue 4 years ago • 0 comments
trafficstars

Hello, I'm using the following command to preview the worker: wrangler preview --watch The Browser opens and the worker is running. After changing the code, I get the following message:

asset worker.js 2.08 KiB [emitted] (name: main) 1 related asset
./src/index.ts 223 bytes [built] [code generated]
./src/handler.ts 257 bytes [built] [code generated]
webpack 5.38.1 compiled successfully in 852 ms
✨  Build completed successfully!

BUT the preview doesn't update. Even if I refresh the page in my browser.

mariusbolik avatar Nov 19 '21 21:11 mariusbolik