@joystick.js/cli-canary 0.0.0-canary.159 → 0.0.0-canary.160
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 +5 -1
- package/package.json +1 -1
- package/src/lib/dev/index.js +6 -2
package/dist/lib/dev/index.js
CHANGED
|
@@ -176,7 +176,6 @@ const handleServerProcessSTDIO = () => {
|
|
|
176
176
|
const handleAddOrChangeFile = async (context = {}, path2 = "", options = {}) => {
|
|
177
177
|
try {
|
|
178
178
|
if (context.isAddingOrChangingFile) {
|
|
179
|
-
console.log("ADDING OR CHANGING FILE");
|
|
180
179
|
const codependencies = await getCodependenciesForFile(path2);
|
|
181
180
|
const fileResults = await buildFiles({
|
|
182
181
|
files: [path2, ...codependencies?.existing || []],
|
|
@@ -196,6 +195,11 @@ const handleAddOrChangeFile = async (context = {}, path2 = "", options = {}) =>
|
|
|
196
195
|
);
|
|
197
196
|
return;
|
|
198
197
|
}
|
|
198
|
+
console.log("ADDING OR CHANGING FILE", {
|
|
199
|
+
context,
|
|
200
|
+
fileResultsHaveErrors,
|
|
201
|
+
options
|
|
202
|
+
});
|
|
199
203
|
if (!fileResultsHaveErrors) {
|
|
200
204
|
process.initialBuildComplete = true;
|
|
201
205
|
if (context.isUIUpdate) {
|
package/package.json
CHANGED
package/src/lib/dev/index.js
CHANGED
|
@@ -211,8 +211,6 @@ const handleServerProcessSTDIO = () => {
|
|
|
211
211
|
const handleAddOrChangeFile = async (context = {}, path = '', options = {}) => {
|
|
212
212
|
try {
|
|
213
213
|
if (context.isAddingOrChangingFile) {
|
|
214
|
-
console.log('ADDING OR CHANGING FILE');
|
|
215
|
-
|
|
216
214
|
const codependencies = await getCodependenciesForFile(path);
|
|
217
215
|
const fileResults = await buildFiles({
|
|
218
216
|
files: [path, ...(codependencies?.existing || [])],
|
|
@@ -244,6 +242,12 @@ const handleAddOrChangeFile = async (context = {}, path = '', options = {}) => {
|
|
|
244
242
|
return;
|
|
245
243
|
}
|
|
246
244
|
|
|
245
|
+
console.log('ADDING OR CHANGING FILE', {
|
|
246
|
+
context,
|
|
247
|
+
fileResultsHaveErrors,
|
|
248
|
+
options,
|
|
249
|
+
});
|
|
250
|
+
|
|
247
251
|
if (!fileResultsHaveErrors) {
|
|
248
252
|
process.initialBuildComplete = true;
|
|
249
253
|
|