@joystick.js/cli-canary 0.0.0-canary.148 → 0.0.0-canary.149
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/dist/lib/dev/index.js +1 -0
- package/package.json +1 -1
- package/src/lib/dev/index.js +3 -1
package/dist/lib/dev/index.js
CHANGED
|
@@ -373,6 +373,7 @@ const startFileWatcher = (options = {}) => {
|
|
|
373
373
|
process.loader.text("Rebuilding app...");
|
|
374
374
|
}
|
|
375
375
|
const watchChangeContext = getWatchChangeContext(event, path2);
|
|
376
|
+
console.log("ON ALL CHANGES", watchChangeContext);
|
|
376
377
|
handleCopyDirectory(watchChangeContext, path2, options);
|
|
377
378
|
handleCopyFile(watchChangeContext, path2, options);
|
|
378
379
|
handleAddDirectory(watchChangeContext, path2, options);
|
package/package.json
CHANGED
package/src/lib/dev/index.js
CHANGED
|
@@ -247,7 +247,7 @@ const handleAddOrChangeFile = async (context = {}, path = '', options = {}) => {
|
|
|
247
247
|
context,
|
|
248
248
|
fileResultsHaveErrors,
|
|
249
249
|
});
|
|
250
|
-
|
|
250
|
+
|
|
251
251
|
if (!fileResultsHaveErrors) {
|
|
252
252
|
process.initialBuildComplete = true;
|
|
253
253
|
|
|
@@ -451,6 +451,8 @@ const startFileWatcher = (options = {}) => {
|
|
|
451
451
|
|
|
452
452
|
const watchChangeContext = getWatchChangeContext(event, path);
|
|
453
453
|
|
|
454
|
+
console.log('ON ALL CHANGES', watchChangeContext);
|
|
455
|
+
|
|
454
456
|
handleCopyDirectory(watchChangeContext, path, options);
|
|
455
457
|
handleCopyFile(watchChangeContext, path, options);
|
|
456
458
|
handleAddDirectory(watchChangeContext, path, options);
|