Let $E$ be a Borel subset of $\mathbb R^d$ and $m$ be the Lebesgue measure on $\mathbb R^d$ and by definition of density (Folland real analysis 2nd edition ,Exercise 25 in page 100):
$$D_E(x):= \lim_{r\to 0} \frac{m(E\cap B(x,r))}{m(B(x,r))}$$
I wonder if we can replace the open balls $B(x,r)$'s (centered at the origin with radius $r$) by any neighborhoods of $x$ and still get the same "density". Namely, let $N_n(x)$ be a sequence of neighborhoods of $x$ (we don't even assume they are open, as long as each of them contains an open neighborhood of $x$) such that
$$\lim_{n\to \infty} m(N_n(x))=0.$$
Do we necessarily have
$$D_E(x):= \lim_{n\to \infty} \frac{m(E\cap N_n(x))}{m(N_n(x))}?$$