How to check .watch file on localhost?

I show the contents of a folder in my AngularJS interface (with a Rails server). I want to see the folder for any changes, such as a new file, a deleted file.

I obviously want to test the application on my local host before deploying it to the server, but I cannot add localhost as the allowed domain in the apis console.

How to configure file.watch file for testing?

thanks

+4
source share
2 answers

It is not possible to check push notifications without a verified domain, so we cannot transmit sensitive information to untrusted endpoints. I would recommend you buy / use a test domain / subdomain for testing.

+2
source

there portly.co

It works very well, you can check the domain with google site verification and add it as a push domain.

0
source

Source: https://habr.com/ru/post/1495686/


All Articles