cool. but this init code in the init script opens a preview window when i open my workspace. its cool that this works, but for example i want to do the following. i usually start my dev server from the command line with npm start, or whatever it happens to be. usually that command points to something like
node index.js . i want to have the window open command executed during or directly after this.
how do i get commands or functions out of the init script and into the context of the workspace so i can call them whenever i want.