vercel / micro-dev

The development environment for `micro`
MIT License
705 stars 77 forks source link

Provide an option to disable the auto copy to clipboard behaviour #105

Open alextiley opened 4 years ago

alextiley commented 4 years ago

When pasting in my work project, my team and I frequently see http://localhost:3000 rather than the thing we copied in our editor. When starting the server, micro-dev seems to copy the URL to the clipboard. This collides with copying and pasting in the editor between file saves (my editor saves upon opening another file). An option in micro-dev like --no-copy would be great. I've had a look at the source code and the only way to disable at current would be to run micro-dev without a TTY (which is impractical).