There is another thing you need to do
if (chunk.Dirty || forceBuild)
{
SpawnPrefabsForChunk(tileMap, chunk, baseX, baseY);
}
just add
public static void SpawnPrefabs(tk2dTileMap tileMap, forceBuild = false)
and pass the forcebuild variable from the build function