#How do I disable file watcher on wasm?

8 messages · Page 1 of 1 (latest)

long shadow
#

I'm kinda lost now cuz it used to work when going trunk serve. Now I'm not able to publish because of this error.

sharp saddle
#

How did you get file_watcher in the first place?

#

I recommend putting file_watcher and so on under a dev feature in your project. Then when compiling to WASM you just don't include dev.

#

Then use cargo run --features dev when testing locally

long shadow
#

I'm not sure how to get around it though.