@embeddable.com/sdk-core 3.14.0-next.3 → 3.14.0-next.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embeddable.com/sdk-core",
3
- "version": "3.14.0-next.3",
3
+ "version": "3.14.0-next.4",
4
4
  "description": "Core Embeddable SDK module responsible for web-components bundling and publishing.",
5
5
  "keywords": [
6
6
  "embeddable",
package/src/dev.ts CHANGED
@@ -336,15 +336,15 @@ const cubeSecurityContextAndClientContextWatcher = async (
336
336
  let filesToWatch: any = [];
337
337
 
338
338
  if (ctx.pushComponents) {
339
- const cubeFiles = await fg("**/*.cc.{yaml,yml}", {
339
+ const clientContextFiles = await fg("**/*.cc.{yaml,yml}", {
340
340
  cwd: ctx.client.presetsSrc,
341
341
  absolute: true,
342
342
  });
343
- filesToWatch = [...filesToWatch, ...cubeFiles];
343
+ filesToWatch = [...filesToWatch, ...clientContextFiles];
344
344
  }
345
345
 
346
346
  if (ctx.pushModels) {
347
- const [modelsFiles, securityContextFiles] = await Promise.all([
347
+ const [cubeFiles, securityContextFiles] = await Promise.all([
348
348
  fg("**/*.cube.{yaml,yml,js}", {
349
349
  cwd: ctx.client.modelsSrc,
350
350
  absolute: true,
@@ -354,7 +354,7 @@ const cubeSecurityContextAndClientContextWatcher = async (
354
354
  absolute: true,
355
355
  }),
356
356
  ]);
357
- filesToWatch = [...modelsFiles, ...securityContextFiles];
357
+ filesToWatch = [...filesToWatch, ...cubeFiles, ...securityContextFiles];
358
358
  }
359
359
 
360
360
  const fsWatcher = chokidar.watch(filesToWatch, chokidarWatchOptions);