mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-21 09:22:50 +00:00
Merge pull request #3134 from naturalcrit/AwaitBuildCompleteBeforeStartServer
Fix issues starting server first time in Dev environment
This commit is contained in:
@@ -154,8 +154,6 @@ fs.emptyDirSync('./build');
|
||||
// build(bundles);
|
||||
//
|
||||
|
||||
})().catch(console.error);
|
||||
|
||||
//In development, set up LiveReload (refreshes browser), and Nodemon (restarts server)
|
||||
if(isDev){
|
||||
livereload('./build'); // Install the Chrome extension LiveReload to automatically refresh the browser
|
||||
@@ -165,3 +163,5 @@ if(isDev){
|
||||
//watch : ['./server', './themes'], // Watch additional folders if needed
|
||||
});
|
||||
}
|
||||
|
||||
})().catch(console.error);
|
||||
Reference in New Issue
Block a user