javascript - Execute a script in phantomjs interactive (REPL) mode -


this question has answer here:

i have file runs , prints output screen when run in phantomjs non-interactive mode

$ phantomjs file.js <stuff printed screen> 

in phantonjs interactive (repl) mode there way run js file, run('file.js'). want open phantomjs pipe , send multiple files execute before closing pipe save on startup overhead.

looks repl mode borked , and overhaul underway:

https://github.com/ariya/phantomjs/issues/11180


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -