Trying to get my Tevo Little Monster on Smoothieware to work with Octoprint (latest stable version) on a PI 3 B+. Followed the instructions here: https://github.com/foosel/OctoPrint/wiki/Setup-OctoPrint-with-Smoothie
Implemented the Safe Method.
Initially, it failed as sudo anything required a password.
Solved this by adding mount, umount, sync to visudo to disable the password prompt for these
The script works fine now and copies (or in my case moved) files from the PI SD to the Smoothieboard SD Card. BUT the files do not show up in the Octoprint file manager (moved file disappears) till I either reboot the PI or manually run the M20 command in the Gcode window.
Hitting the refresh button in the file manager does noting either.
Question: How can I either add the M20 to the Copt to SD Card script or fix the refresh button in the GUI?