Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential Workflow Improving Changes #96

Open
mergesort opened this issue Jul 16, 2024 · 4 comments
Open

Potential Workflow Improving Changes #96

mergesort opened this issue Jul 16, 2024 · 4 comments

Comments

@mergesort
Copy link

Hi @twostraws, I'm finally actually starting to use Ignite was wondering if there were ways to improve the workflow.

  1. Is there a hot-reloading option for ignite that I'm missing, even if it means an automated way to stop and restart the server? I would like the ability to make changes, hit save, and then see the changes reflected on the website I'm building.

  2. Have you considered building a SPM plugin that would allow users to build (and perhaps run) directly from Xcode? I would really love to have a workflow where I don't need to pop into the terminal to make changes. If not I can look into this, though admittedly tooling isn't exactly a strength of mine.

  3. Is there anything else you do in your personal usage of Ignite that may be beneficial for me to know as a developer dipping my toes into Ignite?

Thank you as always for the framework, and for building a really interesting static site option!

@twostraws
Copy link
Owner

Hello! This is just a quick message to apologize for taking so long to get to this – I'm really overloaded with the after effects of moving house! I'll get to it all this week, for sure. Thank you for your patience!

@0xTim
Copy link
Contributor

0xTim commented Aug 7, 2024

@mergesort as an FYI you can just run the project (or swift run) to regenerate the site, not ignite CLI needed

@mergesort
Copy link
Author

Oh thanks @0xTim, that's good to know!

@cpah
Copy link

cpah commented Sep 12, 2024

There is a workaround, I believe, but it will cost you £9.99. Download WorldWideWeb - desktop from the Mac App Store. Create your website in Xcode and run your Package. Load your Build folder into WorldWideWeb and launch WorldWideWeb's browser. Whenever you update your site in Xcode and run your Package, your Build folder is replaced. WorldWideWeb refreshes its browser whenever its site contents are changed. More details can be found here.

I purchased the iOS version of WorldWideWeb (WorldWideWeb - mobile) and found it very useful for testing a website on my iPhone. Unfortunately, you cannot get WorldWideWeb - mobile to run on a Silicon Mac; you have to buy desktop and mobile versions separately; that said, the £9.99 charged for each version is a one off lifetime purchase with no subscriptions. To my mind it's good value!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants