restart.js 282 B

1234567891011121314
  1. /*
  2. * @Description:
  3. * @Author: zcf
  4. * @Date: 2022-02-08 17:24:53
  5. * @LastEditTime: 2022-04-20 16:11:11
  6. * @LastEditors: zcf
  7. */
  8. import ViteRestart from 'vite-plugin-restart'
  9. export default function createRestart() {
  10. return ViteRestart({
  11. restart: ['.env.development']
  12. })
  13. }