Don't eat a lot of carbs, or only eat what you can burn off. You can buy some ketone sticks, they tell you if you are burning fat or not.
Also, if you are building muscle while you try to lose weight you won't know if you've lost weight necessarily, as muscle weighs more than fat.