-
Notifications
You must be signed in to change notification settings - Fork 15
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
Referencing files that don't exist interrupts CI mode. #49
Comments
Hey @jglovier, Are you continuing to see this behavior since the 0.9.0/0.9.1? You'll need to update your plug-ins as well if you haven't. Just curious to know if it's still broken. Thanks |
@arobson I haven't upgraded yet, I'm still on 0.9.0-RC4. I was hesitant to upgrade since Creamer's environment broke, and I couldn't afford to be dead in the water on this project right now at all. But should I be able to upgrade without breaking anything now? Was his issue unique to his Windows setup? |
@creamer's environment did get hosed, but there was an odd bug hanging out in the source that somehow never got caught before and we've since resolved a few other issues. No rush, but when you're ready, I would suggest doing the following things:
If you're having issues after that you can easily role back everything:
That will put everything back in place. If you happen to test this out and run into issues, I'd appreciate it if you'd log them and the stack traces as GitHub issues so I can stay on top of this stuff over time. Creamer isn't the only person that didn't have a smooth upgrade, but I'm having a hard time figuring out what the issues are. |
Cool. I have a break in the action on Monday after my deliverables, so I'll go through those steps on Tues and report back. |
Dang it. I missed that window to hit "Y" on |
So I'm using the new anvil.templates plugin that Creamer has been developing for building static files from source. I'm running in
--ci
mode so I can see changes update in the browser live, and it's working great.I've got handlebars templating setup for partials, and I noticed an issue with CI mode. Turns out if you reference files in the code that don't exist yet (like a new handlebars template, or an image asset) it breaks CI mode. And by "breaks" what I mean is that CI mode stops updating the markup in the browser on save. It does keep running, and trying to update files (as proven by watching the terminal while I save a file in
src
), but it just doesn't actually compile the new code.The really strange thing is that this "broken" behavior continues even after you create the missing file or asset that is being referenced in the code. My only solution then is to go back to the directory and run
anvil
to completely recompile,ctrl+c
out of CI mode, and then runanvil --ci --host
all over again.However, if while running in CI mode I create a new asset, then reference it from the code and save, it doesn't seem to break CI mode if performed in that order. So it's just when you are referencing a file or asset that does not exist yet.
The text was updated successfully, but these errors were encountered: