mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-24 17:22:23 +00:00
* I need that gitignore file * Temp Commit - DOES NOT COMPILE * THE SHIT WORKS * Readme change * Disposal Unit --> TGUI * mmmm yes CI which may not actually work * New GitIgnore * ITS TGUI-NEXT BABY * Doc update * CI tweak * Chmod * And again * *sigh* * Lets appreciate the irony of me failing CI stages * 0/1 --> True/False * Fixes some update nonsense * CI Update * Lets try this * What about this maybe * NVM is hurting me * I swear to god * A little bit of validation in my life * V3 BABYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY * Fixes * Fixes NaN appearing for a few frames when UIs open * Fixes + Crew Monitor * Corn + Steel + Mochi Fixes * Forgot this * Fixes from stylemistake * Code Change * Adds logout proc * Offline implications + Resizeable crew monitor * Change locate() to locateUID() * Change div --> box
23 lines
561 B
JavaScript
23 lines
561 B
JavaScript
import { setupWebpack, getWebpackConfig } from './webpack.js';
|
|
import { reloadByondCache } from './reloader.js';
|
|
|
|
const noHot = process.argv.includes('--no-hot');
|
|
const reloadOnce = process.argv.includes('--reload');
|
|
|
|
const setupServer = async () => {
|
|
const config = await getWebpackConfig({
|
|
mode: 'development',
|
|
hot: !noHot,
|
|
});
|
|
// Reload cache once
|
|
if (reloadOnce) {
|
|
const bundleDir = config.output.path;
|
|
await reloadByondCache(bundleDir);
|
|
return;
|
|
}
|
|
// Run a development server
|
|
await setupWebpack(config);
|
|
};
|
|
|
|
setupServer();
|