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

Watch mode breaks when adding new files #105

Closed
plt-amy opened this issue Jul 24, 2022 · 0 comments · Fixed by #106
Closed

Watch mode breaks when adding new files #105

plt-amy opened this issue Jul 24, 2022 · 0 comments · Fixed by #106
Assignees
Labels
bug Something isn't working web For issues/pull requests relating to the 1lab website itself.

Comments

@plt-amy
Copy link
Member

plt-amy commented Jul 24, 2022

Adding a new file while watch mode is running leaves me in a loop of

🔨 src/Cat/Displayed/Cartesian/Indexing.lagda.md has changed. Rebuilding _build/html/Cat.Displayed.Cartesian.Indexing.html.
# agda (for OracleQ (MainCompileQ ()))
Checking Cat.Displayed.Cartesian.Indexing (/home/amelia/default/Projects/1lab.dev/src/Cat/Displayed/Cartesian/Indexing.lagda.md).
Generating HTML for Cat.Displayed.Cartesian.Indexing
❌ Build failed in 1.68s
Error when running Shake build system:
  at need, called at app/Main.hs:276:22 in main:Main
* Depends on: _build/html/Cat.Displayed.Cartesian.Indexing.html
  at copyFile', called at app/Main.hs:95:12 in main:Main
  at need, called at src/Development/Shake/Internal/Derived.hs:92:5 in shake-0.19.6-7wpTzbc7Oxe2G9GkWOH0sV:Development.Shake.Internal.Derived
* Depends on: _build/html0/Cat.Displayed.Cartesian.Indexing.html
  at error, called at src/Development/Shake/Internal/Rules/File.hs:179:58 in shake-0.19.6-7wpTzbc7Oxe2G9GkWOH0sV:Development.Shake.Internal.Rules.File
* Raised the exception:
Error, rule finished running but did not produce file:
  _build/html0/Cat.Displayed.Cartesian.Indexing.html
@plt-amy plt-amy added the web For issues/pull requests relating to the 1lab website itself. label Jul 24, 2022
@SquidDev SquidDev added the bug Something isn't working label Jul 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working web For issues/pull requests relating to the 1lab website itself.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants