hytopia 0.10.32 → 0.10.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/scripts.js CHANGED
@@ -75,13 +75,13 @@ async function start() {
75
75
  const projectRoot = process.cwd();
76
76
  const entryFile = path.join(projectRoot, 'index.mjs');
77
77
  const buildCmd = 'hytopia build-dev';
78
- const runCmd = `"${process.execPath}" --enable-source-maps "${entryFile}"`;
78
+ const runCmd = `"${process.execPath}" "${entryFile}"`;
79
79
 
80
80
  // Start nodemon to watch for changes, rebuild, then run the server
81
81
  nodemon({
82
82
  watch: ['.'],
83
83
  ext: 'js,ts,html',
84
- ignore: ['node_modules/**', '.git/**', '*.zip', 'index.mjs'],
84
+ ignore: ['node_modules/**', '.git/**', '*.zip', 'index.mjs', 'assets/**'],
85
85
  exec: `${buildCmd} && ${runCmd}`,
86
86
  delay: 100,
87
87
  })
@@ -386,7 +386,7 @@ async function packageProject() {
386
386
 
387
387
  logDivider();
388
388
 
389
- const child = spawn(process.execPath, ['--enable-source-maps', 'index.mjs'], { stdio: 'pipe', shell: false });
389
+ const child = spawn(process.execPath, ['index.mjs'], { stdio: 'pipe', shell: false });
390
390
 
391
391
  await new Promise(resolve => {
392
392
  child.stdout.on('data', data => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hytopia",
3
- "version": "0.10.32",
3
+ "version": "0.10.34",
4
4
  "description": "The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.",
5
5
  "type": "module",
6
6
  "main": "./server.mjs",