actum / gulp-dev-stack

Actum dev stack based on gulp
MIT License
11 stars 7 forks source link

serve files only from dist (build base) #172

Closed ronaldruzicka closed 7 years ago

ronaldruzicka commented 7 years ago

I think it is unnecessary to serve files from both DEV and BUILD base, so now it serves just from BUILD

ronaldruzicka commented 7 years ago

I had some path issues when getting nunjucks templates with rendering in the browser on Walmark project, so serving from DIST would ensure, the path is ok and the same on both PROD and DEV. And I didn't have any issues with api yet. Do you remember what issue with the api did you have?

janpanschab commented 7 years ago

The only issue was I have src/api.json and I want to use it as mock API response. And I don't want to create task to copy&paste it to DIST folder. But once we have a API server so it is preferred way how to mock API.