rojo-rbx / rojo

Rojo enables Roblox developers to use professional-grade software engineering tools
https://rojo.space
Mozilla Public License 2.0
906 stars 170 forks source link

`rojo sourcemap` occasionally outputs invalid JSON #888

Open ffrostfall opened 3 months ago

ffrostfall commented 3 months ago

Occasionally when using Rojo, it will output invalid JSON such as the following: https://i.imgur.com/zLURlf5.png image image


This seems to only happen in watch mode. Regenerating the sourcemap manually always seemingly fixes it

kennethloeffler commented 3 months ago

Can you also include a zip of the project where you've run into this problem, your operating system, and Rojo version?

ffrostfall commented 3 months ago

Rojo version 7.4.0 Windows repro.zip

Running rojo sourcemap -o sourcemap.json game.project.json --watch