-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
command:shellRelated to 'shell' commandRelated to 'shell' command
Description
The wp shell command is super useful for debugging sessions, however it is quite tedious when you need to make code changes, as it does not reload the modified code.
By properly spawning the actual REPL in a new PHP process, and by checking the exit state for a specific result, it should be possible to inject a command that allows for restarting the REPL.
Bonus points: provide a wp shell --watch=<folder> command that watches for changes in a specific folder and restarts the shell automatically.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
command:shellRelated to 'shell' commandRelated to 'shell' command