Custom assets folder not available at runtime

Hi Guys,

I have a folder ‘tiles’ which holds mbtiles .pbf files. I want this folder to be available at runtime! I created a custom copy which works, but the folder isn’t available in the browser when I run ionic serve…

var fs = require('fs-extra');
fs.copy('src/assets/tiles','www/assets/tiles');

Ionic info:

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.10.2
    ionic (Ionic CLI) : 3.10.3

global packages:

    Cordova CLI : 7.0.1 

local packages:

    @ionic/app-scripts : 1.3.0
    Cordova Platforms  : ios 4.4.0
    Ionic Framework    : ionic-angular 3.0.1

System:

    ios-deploy : 1.9.2 
    Node       : v6.10.3
    npm        : 5.3.0 
    OS         : macOS Sierra
    Xcode      : Xcode 8.3.3 Build version 8E3004b 

How can I make the folder available??

My bad, had a wrong path to the file :zipper_mouth_face:
It’s working fine!