@joystick.js/cli-canary 0.0.0-canary.59 → 0.0.0-canary.60
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 +5 -1
package/dist/lib/dev/index.js
CHANGED
|
@@ -243,6 +243,7 @@ const startFileWatcher = (options = {}) => {
|
|
|
243
243
|
};
|
|
244
244
|
const runInitialBuild = async (buildSettings = {}) => {
|
|
245
245
|
try {
|
|
246
|
+
process.loader.text("Building app...");
|
|
246
247
|
const filesToBuild = getFilesToBuild(buildSettings?.excludedPaths, "start");
|
|
247
248
|
const fileResults = await buildFiles({
|
|
248
249
|
files: filesToBuild,
|
package/package.json
CHANGED
package/src/lib/dev/index.js
CHANGED
|
@@ -294,6 +294,8 @@ const startFileWatcher = (options = {}) => {
|
|
|
294
294
|
|
|
295
295
|
const runInitialBuild = async (buildSettings = {}) => {
|
|
296
296
|
try {
|
|
297
|
+
process.loader.text('Building app...');
|
|
298
|
+
|
|
297
299
|
const filesToBuild = getFilesToBuild(buildSettings?.excludedPaths, "start");
|
|
298
300
|
const fileResults = await buildFiles({
|
|
299
301
|
files: filesToBuild,
|
|
@@ -469,7 +471,9 @@ const dev = async (options, { resolve, reject }) => {
|
|
|
469
471
|
- [x] If environment === 'test', check that both a .joystick fo lder exists AND a /tests folder
|
|
470
472
|
exists. If no /tests, log out docs on how to scaffold your tests.
|
|
471
473
|
- [x] Load settings.<environment>.json.
|
|
472
|
-
- [
|
|
474
|
+
- [x] Start databases relative to options.environment (development|test) from settings.<environment>.json.
|
|
475
|
+
- [x] Run the initial build
|
|
476
|
+
- [x] Start the file watcher
|
|
473
477
|
- [ ] Start the app as normal from the build directory.
|
|
474
478
|
- [ ] If environment === 'test', run the tests.
|
|
475
479
|
- [ ] If environment === 'test', after tests, run process.exit(0).
|