Incremental rebuilds are stopped in case of error
See original GitHub issueWhile codedoc serve
was running, I created the code block…
```C# ```
…and then saved. Initially I received the error message
Language does not exist: C#
After a delay of a few seconds, I received this error message
Error:
#
# Unrecognized Language:: C#
#
# Check https://prismjs.com/#supported-languages for a list of supported languages.
# You can also add --safe-highlight flag to snippets with unsupported langauges.
#
at Object.Code (C:\Code\Blogs\tyson-williams-blog\.codedoc\node_modules\@codedoc\core\src\components\code\index.tsx:53:22)
at ComponentPlugin.create (C:\Code\Blogs\tyson-williams-blog\.codedoc\node_modules\@connectv\html\src\renderer\plugin\component\component.ts:39:25)
at C:\Code\Blogs\tyson-williams-blog\.codedoc\node_modules\@connectv\html\src\renderer\extensible-renderer.ts:45:77
at Array.some (<anonymous>)
at ExtensibleRenderer.create (C:\Code\Blogs\tyson-williams-blog\.codedoc\node_modules\@connectv\html\src\renderer\extensible-renderer.ts:45:18)
at Parser.tok (C:\Code\Blogs\tyson-williams-blog\.codedoc\node_modules\@connectv\marked\src\parser.tsx:75:16)
at Parser.parse (C:\Code\Blogs\tyson-williams-blog\.codedoc\node_modules\@connectv\marked\src\parser.tsx:34:28)
at C:\Code\Blogs\tyson-williams-blog\.codedoc\node_modules\@connectv\marked\src\index.ts:13:19
at Object.<anonymous> (C:\Code\Blogs\tyson-williams-blog\.codedoc\node_modules\@codedoc\core\src\build\content.tsx:19:36)
at step (C:\Code\Blogs\tyson-williams-blog\.codedoc\node_modules\@codedoc\core\dist\es5\build\content.js:44:23)
[ERROR] 20:50:35 Error:
#
# Unrecognized Language:: C#
#
# Check https://prismjs.com/#supported-languages for a list of supported languages.
# You can also add --safe-highlight flag to snippets with unsupported langauges.
#
After this, there was no longer any incremental rebuilds.
I expected that incremental rebuilds would continue.
The URL https://prismjs.com/#supported-languages in the error message was very helpful. It helped me realize that I should replace C#
with csharp
. If I make this kind of mistake again, I hope this URL is provided and incremental rebuilds continue working.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
[Docs question] Does watch mode enable incremental ...
Watch mode means esbuild reacts to filesystem events and triggers onRebuild events whereas when incremental is enabled, result.rebuild() ...
Read more >hive druid mv incremental rebuild not work
Incremental rebuilding : updating a materialized view only computes the data that was inserted in its sources tables since the last update;; Query...
Read more >Incremental Builds stopped working correctly. Need help!
Is there any way to debug the incremental build pipeline to see why it is rebuilding the whole code base instead of just...
Read more >Incremental Repair: Problems and a Solution - Pythian Blog
1. Take a snapshot first for the keyspace / table for which you are reverting incremental repairs. · 2. Flush and drain the...
Read more >Incremental make fails when source file deleted - Stack Overflow
I modified the %.d recipe so that the dependencies are only considered if the file still exists. The new Makefile rule: %.d: %.c...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Works perfectly! Great job 😃
yes its not released yet. I’m going to release it ideally today or tomorrow alongside bunch of other changes and bug fixes.