chore: don`t ignore .nuxtignore (#5169)

This commit is contained in:
Dmitry Molotkov 2019-03-06 17:53:27 +03:00 committed by Xin Du (Clark)
parent 8ab181dbad
commit 39c9ab5933
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -17,6 +17,7 @@ distributions/*/LICENSE
# Other
.nuxt*
!.nuxtignore
.cache
# Dist folders

View File

@ -25,7 +25,7 @@ describe('basic generate', () => {
pathsBefore = listPaths(nuxt.options.rootDir)
// Make sure our check for changed files is really working
changedFileName = resolve(nuxt.options.generate.dir, '..', '.nuxt-generate-changed')
changedFileName = resolve(nuxt.options.generate.dir, '..', '.nuxt-generate', '.nuxt-generate-changed')
nuxt.hook('generate:done', () => {
writeFileSync(changedFileName, '')
})