worker-typescript-template
worker-typescript-template copied to clipboard
--watch flag not working
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.