fix: move the contentDirectory check to come first#1218
fix: move the contentDirectory check to come first#1218WOSSFOSS wants to merge 1 commit intoanidl:masterfrom
Conversation
|
if all you are looking for is for it to look for the cdm in a different place, then maybe keep the changes specific to that and not reordering the main checks. I only say that because if you set contentDirectory so your CDMs can live somewhere else and then run the GUI build with contentDirectory set then it will be looking in the wrong place for its assets and fail to load the GUI. I know your main goal is making the CLI work for you but this could have a negative side effect for someone else not using your specific CLI mindset (ie. they also want to have their CDMs in a diff spot, but then want to use the GUI and not the CLI). So maybe instead just work on the cdm.ts with something like this and then just make sure to change the stuff that says |
Fix #1217