[wp-trac] [WordPress Trac] #44263: `grunt build` removes `wp-config.php` file.

WordPress Trac noreply at wordpress.org
Tue May 29 14:19:07 UTC 2018


#44263: `grunt build` removes `wp-config.php` file.
------------------------------+-----------------------------
 Reporter:  desrosj           |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:  trunk
 Severity:  normal            |   Keywords:  dev-feedback
  Focuses:                    |
------------------------------+-----------------------------
 Every time I run `grunt build` locally, I am presented with an install
 screen when running WordPress from the `build` directory.

 Before r43309, the `wp-config.php` file was created in the `src`
 directory. When `grunt build` runs, it removes everything in the `build`
 directory and copies everything in the `src` directory into `build`. But
 now that you can't run WordPress from the `src` directory, the `wp-
 config.php` file is never created in `src` to be copied to `build.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44263>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list