ProxymanApp / Proxyman

Modern. Native. Delightful Web Debugging Proxy for macOS, iOS, and Android ⚡️
https://proxyman.io
5.35k stars 177 forks source link

Imported scripts do not run until they have been opened in the editor and saved. #1985

Open mprice-banno opened 3 months ago

mprice-banno commented 3 months ago

Description

When importing scripts, and then checking them as enabled in the Scripting list view, they do not actually get executed until you open them in the editor and then save them. They appear to be have been executed, the edited ✅ flag appears in the main Proxyman window (if the Edited field is added to the column configuration), but the responses are not updated based on the scripts behavior.

Steps to Reproduce

  1. Add the Edited column to the column headers in the main Proxyman window.
  2. Import a new script
  3. Without opening the script, enable it in the script list.
  4. Perform action in client which will trigger the script

Current Behavior

Expected Behavior

Environment