When the application to the court or district judge is made without notice to the adverse party, and the writ is allowed, the alternative shall be first issued; but if the application be upon due notice, and the writ is allowed, the peremptory may be issued in the first instance. The notice of the application, when given, shall be at least 10 days. The writ shall not be granted by default. The case shall be heard by the court, whether the adverse party appear or not.
NRS 34.200