cant get LiveEdit to work Follow Michalis Efstathiou Created September 14, 2022 16:02 I installed the live edit plugin, and enabled it in the settings, but it just wont work, and Im not sure what I am doing wrong, anyone have any ideas that might help me?
Did you enable the Update Node.js application on change checkbox in Settings | Build, Execution, Deployment | Debugger | Live Edit? With this option enabled the JS module code is hotswapped on changes. But note that hotswapped module isn't executed, so state of the application isn't updated, only application code is, so you won't see the changes instantly unless the changed code is executed on some event... Live Edit doesn't restart the application
If you like your server to be re-started each time the code changes changes, you can try using tools like nodemon