Settings -> Build,Execution,Deplyment -> Compiler
Ctrl + Shift + Alt + / 然后选择 Registry,勾上 Compiler.autoMake.allow.when.app.running