fix bug that prevented dependencies from resetting between builds during watch