ROCK Pi S USB Mass Storage (ISSUE)

"I just set up my ROCK Pi S as a USB, meaning as a drive through g_mass_storage, following some steps and enabling this functionality.

sudo modprobe g_mass_storage file=/home/rock/share stall=0 removable=1

After having the Emulated Pen, is there any way to make it so that as soon as I insert a file into the PEN, it goes directly to the ROCK Pi S without having to restart?