deno run --watch
So I'm trying to use
deno run --watch but I only want it to reload if certain files have been changed. Is there any way that's possible? I couldn't find anything anywhere13 Replies
Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
I had something similar to that in my scripts but that didn't work
https://lio.wtf/i/q1c.png
or do I not have to pass the
./Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
ah, that sucks :<
just passing
--watch=src/generated/ doesn't seem to work yet, damn :<Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
I do, but if I save my
./index file it still sends a restart signalUnknown User•4y ago
Message Not Public
Sign In & Join Server To View
ah...
so because I import
src/generated/routes.ts in src/index.ts and import that in ./index.ts, it still gets reloadedUnknown User•4y ago
Message Not Public
Sign In & Join Server To View
makes sense, but still seems weird to me. Oh well. I shouldn't need to regen my s3 and route files that often anyways, and at that point I can just redeploy
Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
I wanna call
domain.tld/api/func/s3 and just have the server regenerate my s3 file, that has the keys and urls to all the files I have in my s3 bucket, that I then serve on domain.tld/api/s3