question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sandbox watcher for`.arc` file generates expected directory structure

See original GitHub issue

When running arc sandbox I typically have an editor open in another window. If I make any changes to the .arc file which describes all the routes then it would be nice if the sandbox could optionally generate the directory structure which arc would normally generate if you re-ran arc sandbox or arc init. This way, when doing development a change to the .arc file could automatically create any new directories which arc would expect and would generate anyway on successive executions of arc.

I recognize this might not be desired behaviour for all users. Not sure if this is good default behaviour but we could have a flag or some setting in a config file ignored by .gitignore that would let you set your local development behaviour. With an opt-in flag, usage would be something like

$ arc sandbox --generate

I can wrap this in another process to watch the .arc file but that has bad ergonomics.

See Slack Conversation

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ryanblockcommented, Apr 13, 2020

This has been a great thread, thank you @trevoro! Moving this into https://github.com/architect/architect/issues/763

0reactions
ryanblockcommented, Mar 30, 2020

Hmm, that’s a really good idea. May also present some issues, but I dig it.

I think to the original thrust of this issue: autoInit should prob be false (imo).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Salesforce DX Project Structure and Source Format
A Salesforce DX project has a specific project structure and source format. Source format uses a different set of files and file extensions...
Read more >
File System Basics - Apple Developer
Explains how to create and manage files and directories.
Read more >
NetSuite Applications Suite - Oracle Help Center
Cloud · Cloud Applications · NetSuite. NetSuite Applications Suite. Table of Contents; Search. Contents. Expand AllCollapse All.
Read more >
Bug listing with status RESOLVED with resolution FIXED as at ...
... Bug:740 - "digest file is missing in portage tree for cdrecord ebuild" ... doesn't create directory for database" status:RESOLVED resolution:FIXED ...
Read more >
golemfactory/sp-wasm: SpiderMonkey-based Wasm sandbox
SpiderMonkey-based WebAssembly Sandbox · 1. Create and cross-compile simple program. 1.1 C/C++; 1.2 Rust · 2. Create input and output dirs and files...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found