Zend certified PHP/Magento developer

The static folder does not contain the editted JS file?

I am trying to edit one of the callbacks of the gdpr-cookie module in the directoy vendor/amasty/gdpr-cookie/view/frontend/web/js/cookies.js:

      allowCookies: function() {
            actionAllow().done(function() {

                //my code here

                $(this.barSelector).remove();
                cookieModel.triggerAllow();
            }.bind(this));
        },

But when I compile and build it:

bin/magento setup:di:compile
bin/magento setup:static-content:deploy

The un-edited file show up in the static folder (pub/static/frontend/.../Amasty_GdprCookie/js/cookies.js) .
So the lines that I added are not there.
I also clear the cache each time.

What am I doing wrong? Is the module being loaded from another directory? Where should I edit it?