This is not true, upydev requires a config file, in the current dir OR in upydev global path (just use -g flag with config command).upydev appears to require its config file to live in the current dir, but dsync also maps the current directory to the root of the upy device.
So as default upydev will look for config file in current dir and if it does not find any, it will look in the global path. (If you want to look in global path only, again use -g flag or remove config file from current dir)
As mentioned above you don't need to have the config file in current dir,This makes upydev awkward to use unless you are prepared to send the config file along with the source.
and if for some reason you need to have any file in your current dir that you don't want to sync you could use "-i" flag to ignore it. (accepts multiple files or some sort of pattern matching with wildcards "*") e.g.
ignore .md , .txt and dotfiles
Code: Select all
$ upydev dsync -i "*.md" "*.txt" "*./.*"