0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-08 20:23:39 +00:00

Merge branch 'master' into fix-indent-in-monster-blocks

This commit is contained in:
Trevor Buckner
2023-11-08 17:05:23 -05:00
committed by GitHub
3 changed files with 14980 additions and 14980 deletions

2
package-lock.json generated
View File

@@ -60,7 +60,7 @@
"supertest": "^6.3.3" "supertest": "^6.3.3"
}, },
"engines": { "engines": {
"node": ">=20.8.x", "node": "^20.8.x",
"npm": "^10.2.x" "npm": "^10.2.x"
} }
}, },

View File

@@ -4,7 +4,7 @@
"version": "3.10.0", "version": "3.10.0",
"engines": { "engines": {
"npm": "^10.2.x", "npm": "^10.2.x",
"node": ">=20.8.x" "node": "^20.8.x"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View File

@@ -154,14 +154,14 @@ fs.emptyDirSync('./build');
// build(bundles); // 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
watchFile('./server.js', { // Restart server when change detected to this file or any nested directory from here
ignore : ['./build', './client', './themes'], // Ignore folders that are not running server code / avoids unneeded restarts
ext : 'js json' // Extensions to watch (only .js/.json by default)
//watch : ['./server', './themes'], // Watch additional folders if needed
});
}
//In development, set up LiveReload (refreshes browser), and Nodemon (restarts server) })().catch(console.error);
if(isDev){
livereload('./build'); // Install the Chrome extension LiveReload to automatically refresh the browser
watchFile('./server.js', { // Restart server when change detected to this file or any nested directory from here
ignore : ['./build', './client', './themes'], // Ignore folders that are not running server code / avoids unneeded restarts
ext : 'js json' // Extensions to watch (only .js/.json by default)
//watch : ['./server', './themes'], // Watch additional folders if needed
});
}