CLI thinks it needs to rename on remote
I have been building a set of deno scripts. Until today I've been using the windmill web editor. Daily I've been using
wmill sync pull
to get the code out of my workspace, into a local folder and pushing to my git repo. Today I wanted to get more productive by learning how to use the VScode plugin. Got that setup, been working with it all day, its great. Just tried to do a wmill sync push
and now the cli thinks it needs to rename all the scripts on the server? Note, the problem appears to be tied to the defaultTs
option in the wmill.yaml file. I kept having to click to switch to deno from bun so I changed that to option in the yaml. If I change it back to bun and then try to do the push again, the sync does not think it needs to do a bunch of renaming. What do I need to do here? I definitely want my default to be deno and all my .ts files are already named .deno.ts, so I don't know why the cli thinks they need renamed on the server?2 Replies
defaultTs set what is the language assumed by not mentionning the extension
so pick which language you want to be used when doing script.ts and use the sync pull to have your scripts respect the nomenclature
Ahhh, got it. I made a new local folder, did a wmill init, changed the defaultTs to deno then did a sync and it did properly pull the scripts without .deno. in the filename. Thank you @rubenf .