File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
resources/js/electron-plugin Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ function shouldMigrateDatabase(store) {
3333 && process . env . NODE_ENV !== 'development' ;
3434}
3535function shouldOptimize ( store ) {
36- return true ;
36+ return process . env . NODE_ENV !== 'development' ;
3737}
3838function getPhpPort ( ) {
3939 return __awaiter ( this , void 0 , void 0 , function * ( ) {
Original file line number Diff line number Diff line change @@ -38,7 +38,8 @@ function shouldOptimize(store) {
3838 * the cached config is not picked up on subsequent launches,
3939 * so we'll just rebuilt it every time for now
4040 */
41- return true ;
41+
42+ return process . env . NODE_ENV !== 'development' ;
4243 // return runningSecureBuild();
4344 // return runningSecureBuild() && store.get('optimized_version') !== app.getVersion();
4445}
You can’t perform that action at this time.
0 commit comments